1
0
mirror of https://github.com/klokantech/tileserver-php.git synced 2025-01-17 14:18:19 +01:00

Merge pull request #144 from scubajorgen/master

Resolved bug in transparent png tile
This commit is contained in:
Dalibor Janák 2020-08-10 07:53:51 +02:00 committed by GitHub
commit eb571b5d70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
tileserver.php Normal file → Executable file
View File

@ -437,7 +437,7 @@ class Server {
header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Origin: *');
header('Content-type: image/png'); header('Content-type: image/png');
// 256x256 transparent optimised png tile // 256x256 transparent optimised png tile
echo unpack('H', '89504e470d0a1a0a0000000d494844520000010000000100010300000066bc3a2500000003504c5445000000a77a3dda0000000174524e530040e6d8660000001f494441541819edc1010d000000c220fba77e0e37600000000000000000e70221000001f5a2bd040000000049454e44ae426082'); echo pack('H*', '89504e470d0a1a0a0000000d494844520000010000000100010300000066bc3a2500000003504c5445000000a77a3dda0000000174524e530040e6d8660000001f494441541819edc1010d000000c220fba77e0e37600000000000000000e70221000001f5a2bd040000000049454e44ae426082');
break; break;
} }
die; die;