Skip to content

更新leafletCN #12

@yiluheihei

Description

@yiluheihei

您好,非常感谢您的leafletCN.

因为我用leafletCN画国内地图时,发现json数据可能比较旧,比如有些城市可能已经改名、像北京和天津这种直辖市早已撤县设区。所以我对leafletCN的数据进行了更新,用[这里的数据(https://github.com/wenccro/chinaMapJsonData)替换了原来的地图数据。

另外还伴随了一些小改动:

  • 修改了leafletcn.map.names与更新后地图数据一致
  • 中国地图中加入南海诸岛
  • 把自己处理数据的流程写在了data-raw文件夹下,并添加至.buildignore

我修改后的仓库在, 目前通过R CMD check没有warning。

如果您觉得可以的话,没什么问题,我可以提交个PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions