/PHP-MBTiles-Server

PHP MBTiles Server

Primary LanguagePHP

PHP-MBTiles-Server

About

An extremely simple PHP script for extracting images from an MBTiles sqlite database file. Examples for use with Leaflet and OpenLayers included.

Dependencies

Demos

Limitations

This script simply extracts the images from the MBTiles database and DOES NOT support UTFGrid interation!

Beware!

MBTiles files generated from TileMill (currently) use the "TMS" tiling scheme. MapBox hosted tiles (currently) use the "XYZ" tiling scheme. If you use mbutil to export the tile images to a filesystem directory, the default scheme is "XYZ".