Wednesday, March 16, 2011

[Google Maps API v2] Re: Google Map - Markers not centering when links are clicked

>Based on the code below, could someone advise how I can get the points/
> markers to center on the map.

Is it way off-screen, or just off to the side? Better to provide a
link (as noted in the posting guidelines) than a code dump.

Anyway. If you want it to go dead center you can just add a
map.setCenter(point); to the function that opens the infowindow.

--
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


Real Estate