How do i add a hyperlink button on my custom marker?
Hi I am trying to add a hyperlink button that would navigate to my custom marker on the google map after following http://docs.appery.io/tutorials/addin.... Could anyone tell me thanks.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi I am trying to add a hyperlink button that would navigate to my custom marker on the google map after following http://docs.appery.io/tutorials/addin.... Could anyone tell me thanks.
Helllo! Sorry, not sure I understand. Could you clarify do you need the marker to be on the center of the map?
I already have custom markers on the map i created, i just need a button on the user interface so that when i click on it, it would link me to the position on the custom marker. Like for example i want to click on the button and this would take me to San Francisco, America on the map.
well i have multiple markers on the map already so i like i want to create a button for each marker so then when i click on it it would refresh the map to the location intended. Sorry I have poor writing skills ![]()
On button click center map on marker code$("[name = 'googlemapName']").gmap({
'zoom':15,
'center': new google.maps.LatLng(37, -122)
});/code
where 37, -122 - marker coordinates (latitude, longitude)
15 - zoom
THANK YOU MARINA!! ur support has been great!
Sorry Marina I just tried the code. The code works if i have another button2 ,running the code u just gave me. It zooms to the location specified on the longitude and latitude but how do i keep the markers i had before to continue displaying on the map.
I have another button1 that marks all the locations i had before but when i click on button2 it doesnt work. What to do?
The purpose of what im trying to do is i want to have a button for every checkpoint so that i can zoom to my markers as well as display every other checkpoint if this makes sense please let me know if i should clarify better.