为什么一到小城市就出错?
green-ear-rabbit opened this issue · 1 comments
green-ear-rabbit commented
比如说 孝感
englianhu commented
明白了 Echarts.js和adminLTE.js都会使用$来作为一个调用的接口, 产生了冲突, 在JS层面产生了冲突, 所以不能同时使用
除了把它用htmlwidgets重写掉之外, 我想不出有什么解决的方法...
如果是需要地图,可以通过MapBox 或 SimpleMaps 或 OpenStreetMap 下载,不过韦经度得修改~
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有完整的数据~
参考文献
- 【已解决】AdminLTE中集成ECharts中的**地图
- shinydashboard/tree/main/srcjs/AdminLTE/README-shiny-mods.md
- 史上最强大的js图表库——ECharts带你入门(转)
- chartjs和echartsjs库简介 原创
- 10个最受欢迎的JavaScript图表库,你用过几个?转载
- 比adminlte数据可视化页面更好的选择🔥
- MapBox
- Adding Data Points to world map in R
- SimpleMaps
- R语言可视化--ggplot2和REmap包绘制地图
Originally posted by @englianhu in #29 (comment)