On Sep 1, 9:16 pm, "[email protected]" <[email protected]>
wrote:
> Not from a code dump (at least I can't, maybe someone else has time to
> waste).
I do :-)
GEvent.addListener(map, 'moveend',
function() {
globalMarker.setLatLng(map.getCenter());
When the map is moved, the marker is set to the centre of the map. I'm
not entirely sure why that line is there: a link to the map would
allow a better analysis of its behaviour and how it's probably
intended to work. That would allow real advice to be given rather than
just pointing out why it behaves in the way that it does.
Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---