
Product
Go Support Is Now Generally Available
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
dmap是基于leaflet(轻量、开源、高效的地图js库)的可视化组件集, 由一系列组件拼装而成, 每个组件都可通过tnpm进行安装,你可以按需加载。
我们使用的模块管理器是 node-cube 你也可以用 browserify.org
安装:
npm install node-cube -g
使用:
cube start
http://localhost:9999/demo
1、 .init() 初始化
2、 .data(data) 更新数据,有时数据是异步载入的
3、 update() / .updateData() 数据更新相关的计算和绘制
4、 .render(data) 更新数据并绘制 即 .data方法和updateData方法的叠加
5、 .draw() 仅仅绘制
3、 .hide() 隐藏/回到init刚结束的初始状态而不销毁 hide的时候 必须触发hide事件
4、 .destory() 清除 .destory 彻底销毁元素
常用的有 2d地图: resize movestart moveend data select(点击选择区域)
L.canvas响应leaflet事件的canvas层库。
map-atlas atlas地图说明
map-data数据资源加载
stream流式数据管理
map-utils 公共方法(配色、动画、几何计算、辅助线、数学、sprite等)
10.189.224.26 daily.s.aliyun.com# daily
FAQs
2d map visualization lib
The npm package ldmap receives a total of 63 weekly downloads. As such, ldmap popularity was classified as not popular.
We found that ldmap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Security News
vlt adds real-time security selectors powered by Socket, enabling developers to query and analyze package risks directly in their dependency graph.
Security News
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.