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:
@@ -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>';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user