A UI framework for showing multiple layers in Mapbox GL JS, essentially a wrapper to Mapbox GL JS which integrates various plugins into a full map UI.
Branched from the Leaflet.LayerViewer library.
Originally written for the CycleStreets Bikedata project.
Intended primarily as a GeoJSON viewer, but supports GeoJSON, heatmap and bitmap layers.
Layers and settings are defined using a simple, high-level, declarative structure.
- Show/hide multiple layers
- Supports GeoJSON, heatmap and bitmap layers.
- Updating of GeoJSON over AJAX
- Form controls issue new API calls to send parameters
- Excel export buttons (where supported by API)
- Drawing integration
- Geocoder integration
- Geolocation integration
- Multiple bitmap background layers
- HTML5 pushstate URL support
- Mobile support
- Region switcher, using a GeoJSON file
- Page popup support
- Popup label dictionary support, including tooltips
- Basic password-protection
- Automatic legend generation
- Charting of data, with stratification
- Name overlays
- Clustering support
yarn install
GPL3.
Copyright CycleStreets Ltd.