geoxml3 polygon infowindow

538 views
Skip to first unread message

GIS GOON

unread,
Jul 2, 2012, 10:49:55 PM7/2/12
to google-map...@googlegroups.com
Iv loaded polygons onto a map with a kml and I dont want them clickable. I just want to use their boundaries for calculations. How do I do this?  

geoco...@gmail.com

unread,
Jul 2, 2012, 11:18:05 PM7/2/12
to Google Maps JavaScript API v3
On Jul 2, 7:49 pm, GIS GOON <mtm...@gmail.com> wrote:
> Iv loaded polygons onto a map with a kml and I dont want them clickable. I
> just want to use their boundaries for calculations. How do I do this?

They are native google maps API v3 polygons, so you can pass this in
the options to the geoxml3 parser:

polygonOptions: { clickable: false}

https://developers.google.com/maps/documentation/javascript/reference#PolygonOptions

-- Larry

Reply all
Reply to author
Forward
0 new messages