Re: Saving users map, lat, lng, onClick
On Jun 22, 9:38 am, JamesDavy <james_e_d...@hotmail.com> wrote:
>
> I'd like to be able to save the users view (lat, lng) onClick. So when
> they close the window it brings them back to the view they had before
> clicking the marker.
http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMap2.savePosition
Save the position on click (before you open the infowindow!) and use
the infowindowclose event to restore it.
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home