一.Leaflet插件
1.marker移动
可以让marker自由移动,适合地图中GPS移动
https://github.com/ewoken/Leaflet.MovingMarker
2.地图全屏
https://github.com/Leaflet/Leaflet.fullscreen
3.marker加入小图标
https://github.com/lvoogdt/Leaflet.awesome-markers

4.鼠标右键菜单
点击鼠标右键弹出菜单进行相应操作
https://github.com/aratcliffe/Leaflet.contextmenu

5.波动的小图标
在导航/定位中可以用这种图标
https://github.com/mapshakers/leaflet-icon-pulse

6.搜索定位插件
https://github.com/stefanocudini/leaflet-search

7.地图加载等待
https://github.com/makinacorpus/Leaflet.Spin
8.动态图层选择
https://github.com/aebadirad/Leaflet.AutoLayers

9.地图切换
https://github.com/consbio/Leaflet.Basemaps

10.侧边栏
https://github.com/turbo87/leaflet-sidebar/

11.小地图导航
https://github.com/Norkart/Leaflet-MiniMap

12.前进后退插件
https://github.com/davidchouse/Leaflet.NavBar

13.放大镜
https://github.com/bbecquet/Leaflet.MagnifyingGlass

14.测量工具-支持汉化
https://github.com/ljagis/leaflet-measure
[javascript] view plain copy
var measureControl = new L.Control.Measure({
localization: 'cn',
primaryLengthUnit: 'meters',
secondaryLengthUnit: 'kilometers',
primaryAreaUnit: 'sqmeters',
secondaryAreaUnit: 'hectares',
});
measureControl.addTo(map);

16.鼠标位置
https://github.com/ardhi/Leaflet.MousePosition

17.按钮
https://github.com/CliffCloud/Leaflet.EasyButton

18.提示信息
https://github.com/tinuzz/leaflet-messagebox
19.弹出框
https://github.com/mapshakers/leaflet-control-window

20.侧边栏菜单
https://github.com/unbam/Leaflet.SlideMenu

21.打印
https://github.com/rowanwins/leaflet-easyPrint

22.Echart
https://github.com/wandergis/leaflet-echarts


23.图层要素编辑
https://github.com/kklimczak/Leaflet.Pin

24.矢量绘制和编辑控件
https://github.com/Leaflet/Leaflet.draw

25.标签聚合
https://github.com/Leaflet/Leaflet.markercluster

26.地图放缩限制
https://github.com/Zverik/Leaflet.LimitZoom

二.地图相关
三.其他
1.坐标转换
百度坐标(BD09)、国测局坐标(火星坐标,GCJ02)、和WGS84坐标系之间的转换的工具模块
https://github.com/wandergis/coordtransform
博客主要介绍了Leaflet相关插件,包括marker移动、地图全屏、鼠标右键菜单等多种功能的插件,还提及地图相关内容,最后介绍了百度坐标、国测局坐标和WGS84坐标系之间转换的工具模块,均给出了对应的GitHub链接。
9

被折叠的 条评论
为什么被折叠?



