maptiler / tileserver-php

MBTiles and MapTiler folder hosting with TileJSON, OGC WMTS, UTFGrid interaction and web interface. QGIS & ESRI ArcGIS compatible. Runs on any Apache+PHP webhosting. MapBox Studio Vector Tiles hosting.
http://tileserver.maptiler.com/
568 stars 163 forks source link

data['vector_layers'] is undefined #125

Open pitommasi opened 6 years ago

pitommasi commented 6 years ago

I am trying to serve tiles from a mbtiles created with tippecanoe, projection EPSG:3857. The mbtiles are shown correctly in MapTiler.

I've set up a tileserver.php app but the tiles are not loaded (i.e.: no network requests in the dev panel). In order to debug, I've copy pasted the code that the tileserver.php provides for Openlayers (I need the tiles to work with OL3) and I managed to see that it fails here:

data['vector_layers'].forEach(function(el) {

because data['vector_layers'] is undefined...

any thought?