There might be a simple way to do this? markers are hidden/shown in response to scroll events elsewhere. If the marker to be shown is outside the bounds of the map I use this:
if (!map.getBounds().containsLatLng(LatLng)) map.panTo(LatLng); but panTo() centers the marker. Is there a way to pan only just so far that it lies within map.getBounds() Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
