Calculate if marker is inside poligon zone

92 views
Skip to first unread message

Gonzalo Calandria

unread,
Feb 9, 2012, 10:06:51 AM2/9/12
to google-map...@googlegroups.com
Hello, i have a question about the polygons and the markers.
It is possible to set a polygon in a google map and then, know if a specified latitude and longitude is inside that zone?

Thanks!

Gonzalo.

geoco...@gmail.com

unread,
Feb 9, 2012, 12:24:43 PM2/9/12
to Google Maps JavaScript API v3
Yes (point in polygon analysis)

Examples:
(using kml and the third party kml parser geoxml3)
http://www.geocodezip.com/geoxml3_test/v3_collection-map2e.html

(using FusionTables)
http://www.geocodezip.com/v3_collection-map2e_FT.html

-- Larry

>
> Thanks!
>
> Gonzalo.
Reply all
Reply to author
Forward
0 new messages