REmap icon indicating copy to clipboard operation
REmap copied to clipboard

为什么一到小城市就出错?

Open green-ear-rabbit opened this issue 5 years ago • 1 comments

比如说 孝感

green-ear-rabbit avatar Jun 03 '20 12:06 green-ear-rabbit

https://github.com/Lchiffon/REmap/issues/49#issue-598248361

明白了 Echarts.js和adminLTE.js都会使用$来作为一个调用的接口, 产生了冲突, 在JS层面产生了冲突, 所以不能同时使用

除了把它用htmlwidgets重写掉之外, 我想不出有什么解决的方法...

如果是需要地图,可以通过MapBoxSimpleMapsOpenStreetMap 下载,不过韦经度得修改~

You can use the map_data function from the {ggplot2} package to pull data for maps at different levels (“usa,” “state,” “world,” “county”). The data you pull give locations of the borders of geographic polygons like states and counties. For example, you can get the polygon location data for U.S. states by running the following code

引用:Mastering Software Development in R - 4.3 Mapping

map_data 有许多地方的地方名称信息不完整,需要标签地点名称~

maps程序包或者Adding Data Points to world map in R有完整的数据~

参考文献

Originally posted by @englianhu in https://github.com/Lchiffon/REmap/issues/29#issuecomment-1094248363

englianhu avatar Jun 06 '22 15:06 englianhu