Can I confine Google Maps searches within a complex shape?

I volunteered to help out the local Rescue Squad with a problem they're having with their GPS's. When they receive data from a patient, they don't always get City/Town/ZIP information, so they basically have to type in a street number and a street name and pick between three different choices from various Cities/Towns in our district. The issue is that they know some areas in which the wont be dispatched (certain towns or zip codes) and would like to limit their search to only places in the district defined. I want to know, before embarking on my own mapping/coordinating/javascript adventure, is there a way to limit the boundaries in the Google-Maps API to our district? It wouldn't be a simple shape, but more like a complex polygon (with some "donuts" within...).

以上就是Can I confine Google Maps searches within a complex shape?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准