mirror of
https://github.com/klokantech/tileserver-php.git
synced 2025-08-04 05:37:57 +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>
|
||||
<TileMatrixSet>' . $tileMatrixSet . '</TileMatrixSet>
|
||||
</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 . '"/>
|
||||
</Layer>';
|
||||
}
|
||||
|
Reference in New Issue
Block a user