How do I determine if an address is inside some boundaries on a map?

时间秒杀一切 提交于 2019-12-04 15:14:42

First you need to geocode the address (http://code.google.com/apis/maps/documentation/geocoding/), then you can use my point in polygon library to check if it is in the bounds. Check it out here: http://blog.appdelegateinc.com/point-in-polygon-checking-with-google-maps.html

Update: Check out the comments for someone who updated it to work with v3.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!