Skip to content

cyclestreets/Mapboxgljs.LayerViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mapboxgljs.LayerViewer

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.

Features

  • 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

Forthcoming features

  • Charting of data, with stratification
  • Name overlays
  • Clustering support

Install dependencies

yarn install

Examples

License and copyright

GPL3.

Copyright CycleStreets Ltd.

About

Layer viewer GUI using Mapbox GL JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published