@mapbox/tilelive-overlay

use geojson and simplestyle features rendered with mapnik

Usage no npm install needed!

<script type="module">
  import mapboxTileliveOverlay from 'https://cdn.skypack.dev/@mapbox/tilelive-overlay';
</script>

README

Build Status

tilelive-overlay

Add GeoJSON features with simplestyle styles in a tilelive pipeline.

Install

npm install --save tilelive-overlay

API

  • overlaydata://GEOJSONSTRING
  • overlaydata://2x:GEOJSONSTRING (retina)

Provides a overlaydata://GEOJSONSTRING scheme for tilelive, which transforms GeoJSON into a Mapnik stylesheet using geojson-mapnikify, and then provides raster tiles of it.