
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@tronscanteam/leaflet-echarts
Advanced tools
A plugin for leaflet to load echarts map and make BigData Visualization.
A plugin for leaflet to load echarts map and make BigData Visualization.
根据百度地图echarts的扩展改写,在事件联动这个地方以及echarts的容器与地图容器在拖动和缩放中的适应上耗费了很长时间,为了兼容echarts的map其他类型的数据又下了不少功夫。现在可以算是一个稍微完美的版本了。好的效果请在谷歌浏览器访问。
偶尔拖拽会飘,建议拖拽的时候在没有echarts渲染数据的区域拖拽。貌似修复了!
This is a beta version,so it would have some bugs,visit it by chrome will be better.
When you want to drag the map,drag on zhe basemap without echarts data.It seems that i have solved this problem.
Confirm you have import leaflet
first, 引入leaflet的js和css库自然不用说
Import eaflet-echarts.js
,可以通过npm安装,输入npm install leaflet-echarts
即可
Import echarts.source.js
under directory lib
引入lib目录下的echarts.source.js
文件
As you can use this plugin like this,按照下面的方法使用
var overlay = new L.echartsLayer(map, echarts);
var chartsContainer=overlay.getEchartsContainer();
var myChart=overlay.initECharts(chartsContainer);
var option={};//这里跟百度echarts的map的option一样,the option is same as echarts map
overlay.setOption(option);
If you don't konw how to use this plugin,hava a look at /examples/index.html
,如果你不会用,看看examples目录下的index.html
FAQs
A plugin for leaflet to load echarts map and make BigData Visualization.
We found that @tronscanteam/leaflet-echarts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.