Incubator-echarts: 怎样自建一个地图?

Created on 30 Oct 2017  ·  3Comments  ·  Source: apache/incubator-echarts

现在好像只提供了中国和世界地图。我需要澳大利亚悉尼市区的地图。
我看echarts.registerMap方法的参数里的coordinates项里完全不明白是什么东西。能不能介绍一下原理?
如果可以,我会尝试做一个工具出来给大家创建自己想要的地图。

Most helpful comment

我最近自己做了英格兰地图,等我抽空可以写个具体的指导。我用的是这个衍生工具:https://github.com/chfw/echarts-mapmaker

步骤1: 先用property command, 调整geojson的properties. 目标是要产生一个地理实体一个"name"
步骤2:再用compress command, 进行压缩,这样适合网上下载。

这个是我做的英格兰地图:
withit

All 3 comments

我最近自己做了英格兰地图,等我抽空可以写个具体的指导。我用的是这个衍生工具:https://github.com/chfw/echarts-mapmaker

步骤1: 先用property command, 调整geojson的properties. 目标是要产生一个地理实体一个"name"
步骤2:再用compress command, 进行压缩,这样适合网上下载。

这个是我做的英格兰地图:
withit

感谢。
您这个coordinates的来源是?

忘了写这个:Ordnance Survey data covered by OS OpenData Licence

地图数据来自这个地方:https://github.com/martinjc/UK-GeoJSON

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marine1ly picture marine1ly  ·  3Comments

decadef20 picture decadef20  ·  3Comments

kirazxyun picture kirazxyun  ·  3Comments

Zendic picture Zendic  ·  3Comments

jarben picture jarben  ·  3Comments