谷歌地图找到最近的公用事业 [英] Google Maps Find Nearest Utilities

查看:115
本文介绍了谷歌地图找到最近的公用事业的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在特定的城市/地区找到最近的医院/消防部门或类似的东西?



如果您访问maps.google.com,那么您输入旧金山,然后输入医院,您将看到旧金山周围的所有医院。



使用地理编码器可以应用相同的事情吗?



非常感谢!



其他注意事项
我试图手动使用地理编码器,而不是使用搜索栏。这样我就可以控制搜索结果的结果。

解决方案

使用带地形偏差的HTTP Geocoder =http://code.google.com/apis/maps/documentation/geocoding/index.html#ReverseGeocoding =noreferrer> ReverseGeocoding 和 Viewport Biasing )并过滤JSON结果。


How can I find the nearest hospital/fire department or anything like that around a specific city/area?

If you go to maps.google.com, then you type "San Francisco", then type "hospital", you will see all the hospitals around San Francisco.

Can the same thing be applied using geocoder?

Thanks a bunch!

Additional Note: I'm trying to use the geocoder manually, instead of using the search bar. That way I can control the outcome of the search-results.

解决方案

Use HTTP Geocoder with Viewport Biasing (see: ReverseGeocoding and Viewport Biasing) and filter the JSON result.

这篇关于谷歌地图找到最近的公用事业的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆