我有一个基于上述问题的要求,即在google map api v3中获取给定纬度和经度的最近地标。有谁知道,请分享给它。
答案 0 :(得分:2)
取决于你所谓的"具有里程碑意义的"。
最简单的方法是使用Google商家信息库。你会在这里找到一个介绍,附近有一个"搜索的完整例子": https://developers.google.com/maps/documentation/javascript/places
然后你需要选择你会考虑地标的地方类型。您可以在此处找到可能类型的列表: https://developers.google.com/places/documentation/supported_types