Monday, May 2, 2011

[Google Maps API v2] Re: Assigning a click event to a polygon stored in an array

> I have not been successful passing a polygon to the getBounds() function.

maybe what you need to do is make sure that the code knows which line/
shape you are talking about. If you look at where the centerAndZoom
function is called in my code, you will see these two lines:

polyg=gpolygons[a];

centerAndZoom(polyg);

hope that helps

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