Closed GoogleCodeExporter closed 8 years ago
This is by design. If you wish the map to follow the user, you'll need to
listen to the position_changed event and recenter the map.
google.maps.event.addListener(GeoMarker, 'position_changed', function() {
map.setCenter(this.getPosition());
});
Of course this task becomes much more difficult because you may want to turn of
this feature if the user manually pans the map to look at another location.
Original comment by chadkill...@missouristate.edu
on 20 Dec 2013 at 3:37
@chadKill Thanks for the responds. You nailed it. That resolved my issue, cant
believe I forgot the add listener.
I have implemented the drawingManager function to allow user to annotate on the
map, does anyone know how I can use the Polyline feature to draw a polyline
while tracking the user as to show their path?
Any help is much appreciated...
regards
mxride
Original comment by mxrid...@gmail.com
on 20 Dec 2013 at 4:35
That seems like a great question to ask on StackOverflow
(http://stackoverflow.com).
Original comment by chadkill...@missouristate.edu
on 20 Dec 2013 at 5:16
Original issue reported on code.google.com by
mxrid...@gmail.com
on 20 Dec 2013 at 1:32