Skip to content

PHP backend for reading tiles from mbtiles databases

Notifications You must be signed in to change notification settings

jlpoolen/mbtiles-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP TileServer

Serves map tiles for interactive online maps à la Google Maps or Open Street Maps. You
can use any map created by TileMill (or other software that produces .mbtiles files).

This TileServer serves the following information:

1. Regular .PNG or .JPG image tiles
2. The "UTFGrid" json-tiles necessary to add interactivity to the map
3. The "TileJson" configuration file necessary to get your Javascript map viewer started
4. The XML files necessary to implement the Tile Map Service Specification

Installation is simple: just put the .php file and the .htaccess file in the same 
directory as your .mbtiles file(s), and you're good to go! You can then use LeafLet 
or ModestMaps, or any other map viewer, to display your map.  Map Viewing may be browser
dependent.

TODO: examples and samples

Forked from https://github.com/infostreams/mbtiles-php
which forked from https://github.com/Zverik/mbtiles-php

About

PHP backend for reading tiles from mbtiles databases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%