leaflet.fullscreen:Leaflet的Leaflet.Control.FullScreen

时间:2024-06-01 14:09:07
【文件属性】:

文件名称:leaflet.fullscreen:Leaflet的Leaflet.Control.FullScreen

文件大小:8KB

文件格式:ZIP

更新时间:2024-06-01 14:09:07

HTML

Leaflet.Control.FullScreen 什么 ? Leaflet的简单插件,可将全屏按钮添加到地图。 灵感来自 在帮助下使用本机javascript全屏API 根据MIT许可发布: 如何 ? 在页面中包含Control.FullScreen.js和Control.FullScreen.css: < link rel =" stylesheet " href =" Control.FullScreen.css " /> < script src =" Control.FullScreen.js " > </ script > 将全屏控件添加到地图: var map = new L . Map ( 'map' , { fullscreenControl : true , fullscreenControlOptions : { position


【文件预览】:
leaflet.fullscreen-master
----.mversionrc(136B)
----index.html(2KB)
----.eslintrc(717B)
----Control.FullScreen.css(849B)
----icon-fullscreen-2x.png(215B)
----LICENSE(1KB)
----README.md(3KB)
----icon-fullscreen.png(139B)
----Control.FullScreen.js(9KB)
----package.json(575B)

网友评论