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

Merge branch 'master' of https://github.com/eyeNsky/tileserver-php into eyeNsky-master

This commit is contained in:
Dalibor Janák
2015-12-01 22:32:46 +01:00

View File

@@ -764,7 +764,11 @@ class Wmts extends Server {
$profile = $m['profile']; $profile = $m['profile'];
$bounds = $m['bounds']; $bounds = $m['bounds'];
$format = $m['format']; $format = $m['format'];
$mime = ($format == 'jpg') ? 'image/jpeg' : 'image/png'; if ($format == 'jpgpng'){
$mime = 'image/jpgpng';
} else {
$mime = ($format == 'jpg') ? 'image/jpeg' : 'image/png';
}
if ($profile == 'geodetic') { if ($profile == 'geodetic') {
$tileMatrixSet = "WGS84"; $tileMatrixSet = "WGS84";
} else { } else {