diff --git a/website/src/content/how_to_use/leaflet.md b/website/src/content/how_to_use/leaflet.md index 50e3011..0cd4f11 100644 --- a/website/src/content/how_to_use/leaflet.md +++ b/website/src/content/how_to_use/leaflet.md @@ -1,3 +1,32 @@ -## Using Leaflet? +## Using Leaflet -A Leaflet-based snippet is coming soon. +[MapLibre GL Leaflet](https://github.com/maplibre/maplibre-gl-leaflet) provides a binding for Leaflet that allows you to add vector tile sources to the Leaflet map. + +Include the following links and scripts in your page: + +```html + + + + + + + + + + +``` + +Initialize it to a div like this: + +```html +
+ +```