On Feb 18, 6:38 pm, "[email protected]" <[email protected]> wrote: > On Feb 18, 4:28 pm, Nate_LR <[email protected]> wrote: > > > I've made a google map mashup displaying polygons created from an xml > > file. I'm wanting the map to zoom into an individual polygon after > > it's name is selected from a drop down menu. I'm trying to use a > > polygon's shape or center to do this and just can't figure out the > > proper syntax do it. See snippets of the script below or visit > > (http://www.geology.ar.gov/test/quad24k_map.htm). Thanks! > > You mean something like this: > > http://www.geocodezip.com/www_geology_ar_gov_quad24k_mapA.html > > (uses a ported version of Mike Williams' epoly extension to retrieve > the bounds of the polygons)
Note that for performance reasons you may want to use kml and either KmlLayer or FusionTablesLayer to display it, which will get rendered as tiles on Google's servers rather than native v3 polygons (but then the zoom to polygon will change). -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
