tiler-mbtiles
A nodejs map tile reader for mapbox mbtiles format.
Introduction
This is a map tile file reader for mapbox's mbtiles in XYZ schema.
This link introduces what is mbtiles.
Developed based on mapbox's node-mbtiles
The test is based on the test materials from node-mbtiles.
See Also
tiler-xyz: A nodejs map tile file reader coordinating by X,Y,Z
tiler-arcgis-xyz: A nodejs map tile reader for exploded tiles by ESRI ArcGIS
tiler-arcgis-compact: A nodejs map tile reader for compact tiles by ESRI ArcGIS
Install
npm install tiler-mbtiles
Usage
var Tiler = ;//path of the mbtiles file//because it needs time to load mbtiles, the callback will be called when the tiler is readyvar tiler = __dirname+'/test/plain_1.mbtiles' { if error throw error; tiler;}; //An error will be thrown because the tiler is not ready.//tiler.getTile(..)