is point in polygan

Sep 28, 2011 at 11:06 AM



how i find that is a point in my polygan in gmap .net ?



Dec 4, 2012 at 9:59 AM

Use the name space "google.maps.geometry.poly" in Javascript, use the method "containsLocation".


Sample code to implement:

var polyObject= new google.maps.geometry.poly;

polyObject.containsLocation(Point object, Polygon object) returns true or false.

Refer below API documentation.