[Google Maps API v2] Re: zoom in on click in sidebar.
yes that seems do all the work.
Is there a code to center the marker in middle on map.
thanks in advange
On Dec 14, 3:29 pm, Rossko <ros...@culzean.clara.co.uk> wrote:
> > I have used :
> > map.setCenter(marker.getLatLng(),(map.getZoom()+2));
>
> > What I want is click on a entry in the side bar and it wil zoom in to
> > zoom level X .
>
> Have you tried
> map.setCenter(marker.getLatLng(), X );
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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