Skip to content

alexbirkett/ten20-tile-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#ten20 Tile Server

Generates map tiles on the fly from Mapnik XML or serves tiles from an mbtiles file.

ten20tileServer generates map tiles on the fly from Mapnik XML or serves tiles from an mbtiles file. ten20tileServer is a simple Express based wrapper around [tilelive.js] (https://github.com/mapbox/tilelive.js) library.

Tile scheme

Uses leaflet compabtilble {z}/{x}/{y} tile scheme

Leaflet tile layer url

By default: http://localhost:7777/v2/tiles/{z}/{x}/{y}.png

Installation

npm install -g ten20-tile-server

Usage Examples

Mapnik

ten20-tile-server --url mapnik:///home/alex/Documents/mapbox-osm-bright-86bc63f/build/ten20.xml

mbtiles

ten20-tile-server --url mbtiles:///home/alex/Documents/MapBox/tiles/ten20.mbtiles

About

Serves mbtiles or on-the-fly tiles generated from Mapnik XML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published