leafletCN icon indicating copy to clipboard operation
leafletCN copied to clipboard

An R gallery for China and other geojson choropleth map in leaflet

Results 13 leafletCN issues
Sort by recently updated
recently updated
newest added

when I try the example of geojsonMap dat = data.frame(name = regionNames("china"), value = runif(34)) geojsonMap(dat,"china") I want to remove the legend, but have no solution.

regionNames("吉林“)always goes wrong

Hi, thanks for your work on this package. addTitle really helped me as I don't really know HTML/CSS. One thing though, if the title is any longer than a few...

您好,非常感谢您的leafletCN. 因为我用leafletCN画国内地图时,发现json数据可能比较旧,比如有些城市可能已经改名、像北京和天津这种直辖市早已撤县设区。所以我对leafletCN的数据进行了更新,用[这里的数据(https://github.com/wenccro/chinaMapJsonData)替换了原来的地图数据。 另外还伴随了一些小改动: - 修改了`leafletcn.map.names`与更新后地图数据一致 - 中国地图中加入南海诸岛 - 把自己处理数据的流程写在了`data-raw`文件夹下,并添加至`.buildignore` 我修改后的仓库在[这](https://github.com/yiluheihei/leafletCN), 目前通过`R CMD check`没有warning。 如果您觉得可以的话,没什么问题,我可以提交个PR

Is it available if only display regional map? i.e. I wanna show china map in the graph without showing any other countries.

这样会看起来整洁一些,现在opcaity = 0.3 可能太小

would you please give an example of how to play with mapview?