Skip to content

zakjan/deck.gl-leaflet

Repository files navigation

deck.gl-leaflet

Warning

This package has been deprecated in favour of @deck.gl-community/leaflet.

deck.gl plugin for Leaflet

Demo

Screenshot

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);