Vector tile viewer and tester based on Leaflet and Leaflet.VectorGrid.
This project is built with webpack.
- Run
npm install
to install dependencies - Run
webpack
to build the app inpublic
folder.webpack.config.prod.js
is available for optimized development version. - Or run
webpack-dev-server
to set up test server directly atlocalhost:8080
(require webpack-dev-server)
- import layer list from a JSON file
- add style to vector tile layers
- update layer style on-the-fly