【文件属性】:
文件名称:mapbox-gl-opacity:使多个平铺层透明
文件大小:12.27MB
文件格式:ZIP
更新时间:2021-05-29 17:07:13
JavaScript
mapbox-gl-不透明度
mapbox-gl-opacity 是一个 Mapbox GL JS 插件,可以让多个瓦片层透明。
浏览器支持
Chrome合金
火狐浏览器
苹果浏览器
用法
演示
选项
// addControl Option
// The position of the control (one of the map corners).
position: 'top-left' or 'top-right' or 'bottom-left' or 'bottom-right'
// OpacityControl Option
// Baselayers settings
baseLayers: {
m_mono : "MIERUNE Mono" ,
m_color : "MIERUNE Color"
}
// Overlayers settings
o
【文件预览】:
mapbox-gl-opacity-master
----docs()
--------css()
--------index.html(782B)
--------js()
--------plugin()
----img()
--------mapbox-gl-opacity.gif(12.34MB)
----package.json(625B)
----.prettierrc(139B)
----LICENSE(1KB)
----dist()
--------mapbox-gl-opacity.js(6KB)
--------mapbox-gl-opacity.css(1KB)
----src()
--------mapbox-gl-opacity.js(6KB)
--------mapbox-gl-opacity.css(1KB)
----.gitignore(167B)
----README.md(16KB)