deck.gl-leaflet
v1.3.1
Published
deck.gl plugin for Leaflet
Downloads
5,599
Readme
deck.gl-leaflet
deck.gl plugin for Leaflet
Install
npm install deck.gl-leaflet
or
<script src="https://unpkg.com/[email protected]/dist/deck.gl-leaflet.min.js"></script>
Usage
import { LeafletLayer } from 'deck.gl-leaflet';
const map = L.map(...);
const deckLayer = new LeafletLayer({
views: [
new MapView({
repeat: true
})
],
layers: [
new ScatterplotLayer({
data: [...],
})
]
});
map.addLayer(deckLayer);