![](https://img-blog.csdnimg.cn/20190927151117521.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
地图框架:leaflet
地图框架:leaflet
GEX0o0
这个作者很懒,什么都没留下…
展开
-
leaflet之轮子厂
1、常用地图切换加载(osm、google、baidu、gaode、tianditu.etc)https://github.com/htoooth/Leaflet.ChineseTmsProviders2、切片地图加载(wmts)(支持矢量切片)https://github.com/mylen/leaflet.TileLayer.WMTS3、wms地图服务加载https://github...原创 2020-01-02 11:03:02 · 474 阅读 · 1 评论 -
leaflet之自定义标签小红点
js和css的获取链接(github):https://github.com/mapshakers/leaflet-icon-pulselike this:1.小红点的js代码:(function(window) { L.Icon.Pulse = L.DivIcon.extend({ options: { className: '', ...原创 2020-01-02 11:01:13 · 1059 阅读 · 1 评论 -
leaflet之获取定位
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-...原创 2020-01-02 10:57:28 · 6200 阅读 · 2 评论 -
leaflet之设置标签和弹窗
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-...原创 2019-12-30 16:56:54 · 2332 阅读 · 0 评论 -
leaflet之添加各种地图的服务
leaflet添加各种地图的服务<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>加载各式的地图</title> <link rel="stylesheet" href="https://unpkg.co...原创 2019-12-30 16:53:24 · 2855 阅读 · 0 评论