Skip to content

sdlime/mvt-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple demo for MapServer Mapbox Vector Tile (MVT) support using the Mapbox-GL library.

Setup:

  1. Install/compile https://github.com/sdlime/mapserver/tree/vector-tiles branch. Note that building MVT support requires protobuf and protobuf-c.
  2. Install the contents of this repo on your webserver someplace (e.g. /mvt-demo).
  3. Edit sample.json -> sources.compass.tiles property to reflect your setup:
    • URL for MapServer compiled with MVT support.
    • Location of the demo.map file.
  4. Point your browser to the index.html file and if all went well you should see something like the above screenshot.

About

Mapbox Vector Tiles - MapServer Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages