I have installed the OSGeo4W web server tools on a Server 2008 machine, and I would like to serve MBTiles to Leaflet. I have tried these:
The required PHP files and .htaccess
were placed in a directory under \htdocs
and Apache happily serves files from there. However, I am unable to form any URL that retrieves tiles. Firebug shows a '200 OK' on the tile request, but no content.
Given that the mbtiles database and the script reside in a directory called 'mbtiles', can anyone inspect the scripts and explain how to properly form the URL? A proper L.tileLayer
string for Leaflet would also be accepted.
Also, any other minimal configuration solution (that will run on the OSGeo4W install) that will serve my .mbtiles to Leaflet would be accepted.