[Google Maps API v3] Re: How to determine if given point is inside polygon

2013-01-13 Thread Abhishek Gahlout
The Google maps API does not already provide a method for checking points in polygons. After researching a bit I stumbled across the Ray-casting algorithm which will determine if an X-Y coordinate is inside a plotted shape. This will translate to latitude and longitude. The following extends

[Google Maps API v3] Re: Point in Polygon Function???

2013-01-13 Thread Abhishek Gahlout
The Google maps API does not already provide a method for checking points in polygons. After researching a bit I stumbled across the Ray-casting algorithm which will determine if an X-Y coordinate is inside a plotted shape. This will translate to latitude and longitude. The following extends