coordinates - Selecting Map Points Inside a Map Poly -


i'm trying find algorithmic way select points fall within specific arbitrarily shaped area on google map. want able provide point , ask function if point lies within arbitrary (but defined) map area.

for example, how tell if point contained within green section (brions regional park) on follow map:

http://maps.google.com/maps?ie=utf8&q=state+park&fb=1&gl=us&ei=rm-ttigrbi2jnqexrzytbg&ved=0ceoqtgmwaw&sll=37.912242,-122.078705&sspn=0.086,0.17355&split=1&rq=1&ev=zi&radius=5.68&hq=state+park&hnear=&ll=37.934585,-122.13192&spn=0.089358,0.17355&z=13 

i need figuring out how define specific area , algorithm take in defined area & point , return true/false.

thanks in advance help!

this has been helpful me:

https://github.com/tparkin/google-maps-point-in-polygon


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -