1
0
mirror of https://github.com/klokantech/tileserver-php.git synced 2025-08-04 13:47:49 +02:00

A bug introduced in #38 fixed (missing protocol in the WMTS Resource URL)

This commit is contained in:
Petr Pridal
2014-08-12 17:23:41 +02:00
parent e4454b12be
commit 2bf8bf6d4b

View File

@@ -758,7 +758,7 @@ class Wmts extends Server {
<TileMatrixSetLink> <TileMatrixSetLink>
<TileMatrixSet>' . $tileMatrixSet . '</TileMatrixSet> <TileMatrixSet>' . $tileMatrixSet . '</TileMatrixSet>
</TileMatrixSetLink> </TileMatrixSetLink>
<ResourceURL format="' . $mime . '" resourceType="tile" template="' . $config['protocol'] . '://' <ResourceURL format="' . $mime . '" resourceType="tile" template="' . $this->config['protocol'] . '://'
. $this->config['baseUrls'][0] . '/wmts/' . $basename . '/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.' . $format . '"/> . $this->config['baseUrls'][0] . '/wmts/' . $basename . '/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.' . $format . '"/>
</Layer>'; </Layer>';
} }