Will that work? I thought that polygon.getBounds() would just give the
rectangular bounds of a polygon, such that you could zoom to a size
that contains the whole thing. Is that wrong? I am using
GPolygon.Contains() from Mike Williams (http://www.econym.org.uk/gmap/
inside.htm) but now I see something about v2.88 making it redundant on
his page.

If polygon.getBounds().containsLanLng(GLatLng) will work for complex
polygons with holes in them, I probably should re-write. I guess I'll
experiment with it and see if it works.

-Brian

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

Reply via email to