Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate Tiles with Mapnik and GeoJSON

Uses geojson to create a tile in either PNG, PBF, or UTF Grid formats.

Install

npm install mapnik-tiles

Usage

var tiles = require('mapnik-tiles');

var params = {
  format: 'png',
  name: 'tile-layer',
  z: 5,
  x: 5,
  y: 12
};

tiles.generate(geojson, params, callback); 

Test

npm test

About

A node module that wraps mapnik and creates tiles from geojson

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages