What am I doing wrong with Google Map Markers?
Hi Dan,
Sorry but i must to ask again:
Did you place given(and following) code in your event without any modifications(except of map component name):
pre
//Note: you need replace "map" with your google map component name.
var map = Appery("map").options.mapElement.gmap('get', 'map');
var markerLatLng = new google.maps.LatLng(37.80483, - 122.4085648);
var marker = new google.maps.Marker({
position: markerLatLng,
map: map,
animation: google.maps.Animation.DROP,
title: "SF"
});
/pre
I've tried it and it works fine for me.
Please don't add any else code to it.. It's very important to get this code work. If you add anything else this code could be wrong.
If after you use this code you still have this problem. Please give us your app public link and describe steps how we can reproduce this problem.. We need to see it.
Thanks and regards.