【问题标题】:World vectorial map including states and cities map世界矢量地图,包括州和城市地图
【发布时间】:2016-10-03 08:31:37
【问题描述】:

我有一个项目(商业),我需要一个带有叠加层的地图,我可以单击它并执行操作。

主要问题是这张地图应该只有边界和地区名称,据我发现既没有谷歌地图也没有其他地图服务提供。

http://www.naturalearthdata.com/ 等其他数据来源不是很可靠,因为它们遗漏了很多信息,而且通常只提供少数几个国家/地区的信息。

例如:http://mtbo16.fpo.pt/mtbo/files/loc/loc_en.html

我完全需要 url 中的示例,除了我只需要显示边框和名称。

【问题讨论】:

标签: google-maps google-maps-api-3 maps


【解决方案1】:

使用 Google Maps API,您可以选择设置地图样式:

https://developers.google.com/maps/documentation/javascript/styling

因此,您可以在地图上隐藏除地区名称和边界之外的所有内容。请看一下这个例子:http://jsbin.com/nepode/edit?html,output

您可以使用此向导创建自定义样式:

https://mapstyle.withgoogle.com/

希望对你有帮助!

【讨论】:

    【解决方案2】:

    你可以看看这个:http://vectormap.info/category/free_vector_maps_downloads/free_vector_world_maps/我做的是相反的,隐藏地图层但是你可以选择显示&你可以改变背景样式等等。我不知道,上给你看看,可能有用

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-12-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多