Google Maps - making the map display at the requested longitude and latitude
Hi,
I've been trying to get my Geolocation app working for some time now, trying all of the different approaches to get the map to show the longitude and latitude position I give it, but it just does not move.
My code is simple, I have the Geoservice being called every 5 seconds, this service updates 2 labels on the display, "mylatitude" and "mylongitude".
the code below is supposed to run when I click a button, it does run (as I have an alert to pop up) but the map does not change to show my location, can someone help me please?
var map = Appery('map');
map.options['latitude'] = Appery('mylatitude').text();
map.options['longitude'] = Appery('mylongitude').text();
map.refresh();