For anyone finding this thread, I found the following source JSON worked to load tiles hosted by a Klokantech OpenMapTiles server. As with Roger Austin's example, I've removed most of the LOD entries, but I had to add a few more fields to get JS API v3.31 to load it. YMMV. { "currentVersion": 10.7, "name": "Test tiles", "capabilities": "TilesOnly,Tilemap", "type": "indexedVector", "tileMap": "tilemap", "tiles": [ "http://<host>/{z}/{x}/{y}.pbf" ], "exportTilesAllowed": true, "initialExtent": { "xmin": -20037508.342787, "ymin": -20037508.342787, "xmax": 20037508.342787, "ymax": 20037508.342787, "spatialReference": { "wkid": 102100, "latestWkid": 3857 } }, "fullExtent": { "xmin": -20037508.342787, "ymin": -20037508.342787, "xmax": 20037508.342787, "ymax": 20037508.342787, "spatialReference": { "wkid": 102100, "latestWkid": 3857 } }, "minScale": 591657527.591555, "maxScale": 70.5310735, "tileInfo": { "rows": 512, "cols": 512, "dpi": 96, "format": "pbf", "origin": { "x": -20037508.342787, "y": 20037508.342787 }, "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "lods": [ { "level": 0, "resolution": 78271.51696401172, "scale": 295829355.45453244 }, { "level": 1, "resolution": 39135.75848200586, "scale": 147914677.72726622 },..., { "level": 22, "resolution": 0.01866138385868352, "scale": 70.5312145840007 } ] }, "resourceInfo": { "styleVersion": 8, "tileCompression": "gzip", "cacheInfo": { "storageInfo": { "packetSize": 128, "storageFormat": "compactV2" } } } }
... View more