1
0
mirror of https://github.com/klokantech/tileserver-php.git synced 2025-08-07 23:26:32 +02:00

TMS TileMap Metadata with type="InvertedTMS" too

This commit is contained in:
Petr Pridal
2013-01-11 16:20:25 +01:00
parent 121308fbf8
commit 4eee2225db

View File

@@ -68,7 +68,7 @@ else:
$format = $m['format']; $format = $m['format'];
$mime = ($format == 'jpg') ? 'image/jpeg' : 'image/png'; $mime = ($format == 'jpg') ? 'image/jpeg' : 'image/png';
?> ?>
<TileMap version="1.0.0" tilemapservice="<?php echo $baseUrl.$basename ?>"> <TileMap version="1.0.0" tilemapservice="<?php echo $baseUrl.$basename ?>" type="InvertedTMS">
<Title><?php echo htmlspecialchars($title) ?></Title> <Title><?php echo htmlspecialchars($title) ?></Title>
<Abstract><?php echo htmlspecialchars($description) ?></Abstract> <Abstract><?php echo htmlspecialchars($description) ?></Abstract>
<SRS><?php echo $srs ?></SRS> <SRS><?php echo $srs ?></SRS>
@@ -82,4 +82,4 @@ else:
</TileSets> </TileSets>
</TileMap> </TileMap>
<?php <?php
endif; ?> endif; ?>