Skip to content

mcm-jyl/node-tilejson

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Build status Coverage Status

node-tilejson

A javascript implementation of https://github.com/mapbox/tilejson-spec

install

npm install --save @mapbox/tilejson

API

This module mainly provides an API for use by tilelive: it implements methods that allow fetching of tiles and metadata given a TileJSON object.

Provides a metadata for online tile sources in json format.

Template

Following variables are replaced from URLs in order to get actual tiles:

  • {x} index on the x-axis
  • {y} index on the y-axis (direction depends on the scheme)
  • {z} zoom level
  • {bbox} bounding box in Spherical Mercator coordinates.

About

Tile source backend for online tile sources

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%