I've got a map set up with a boundary around my current city. If the
user tries to move outside the boundary the map won't let it. I have a
bit of code that allows a user to add a point on the map by naming a
store and dragging a marker to the real-world location of that store,
however when the user drags the marker to the edge of the boundary the
marker simply flies away. I've tried adding code to centre the marker
if it's outside the bounds by drag and dragend, but it seems that the
marker is deleted when it is removed from the screen. Is there some
code that will stop this from happening and ideally just not allow the
marker to go outside the map area?

Thanks,
Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to