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

add jpgpng support for ArcGIS Desktop

This commit is contained in:
eyeNsky
2015-04-02 08:19:48 -04:00
parent dd8d884bc6
commit b783c59585

View File

@@ -745,7 +745,11 @@ class Wmts extends Server {
$profile = $m['profile'];
$bounds = $m['bounds'];
$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') {
$tileMatrixSet = "WGS84";
} else {