maplibre-gl-leaflet:这是从 MapLibre GL JS 到熟悉的 Leaflet API 的绑定

时间:2021-08-03 18:08:45
【文件属性】:
文件名称:maplibre-gl-leaflet:这是从 MapLibre GL JS 到熟悉的 Leaflet API 的绑定
文件大小:31KB
文件格式:ZIP
更新时间:2021-08-03 18:08:45
JavaScript MapLibre GL 传单 这是从到熟悉的 API 的绑定。 它最初是为 Mapbox ( ) 开发的,在 Mapbox 更改其许可证后迁移到 MapLibre。 代码示例 var map = L . map ( 'map' ) . setView ( [ 38.912753 , - 77.032194 ] , 15 ) ; L . marker ( [ 38.912753 , - 77.032194 ] ) . bindPopup ( "Hello Leaflet GL!
Whoa, it works!" ) . addTo ( map ) . openPopup ( ) ; var gl = L . maplibreGL ( { style : 'mapbox://styles/mapbox/bright-v8' } ) . a
【文件预览】:
maplibre-gl-leaflet-main
----.github()
--------FUNDING.yml(45B)
--------workflows()
----leaflet-maplibre-gl.js(10KB)
----examples()
--------cluster.html(2KB)
--------basic.html(1KB)
--------events.html(3KB)
--------overlay.html(1KB)
----CONTRIBUTING.md(240B)
----.travis.yml(94B)
----LICENSE(767B)
----README.md(3KB)
----API.md(1KB)
----.gitignore(528B)
----leaflet-maplibre-gl.d.ts(464B)
----CHANGELOG.md(2KB)
----package-lock.json(72KB)
----package.json(867B)

网友评论