Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #144 from scubajorgen/master
Browse files Browse the repository at this point in the history
Resolved bug in transparent png tile
  • Loading branch information
daliborjanak authored Aug 10, 2020
2 parents 43e3cad + 54254f8 commit eb571b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tileserver.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ public function getCleanTile($scale = 1, $format = 'png') {
header('Access-Control-Allow-Origin: *');
header('Content-type: image/png');
// 256x256 transparent optimised png tile
echo unpack('H', '89504e470d0a1a0a0000000d494844520000010000000100010300000066bc3a2500000003504c5445000000a77a3dda0000000174524e530040e6d8660000001f494441541819edc1010d000000c220fba77e0e37600000000000000000e70221000001f5a2bd040000000049454e44ae426082');
echo pack('H*', '89504e470d0a1a0a0000000d494844520000010000000100010300000066bc3a2500000003504c5445000000a77a3dda0000000174524e530040e6d8660000001f494441541819edc1010d000000c220fba77e0e37600000000000000000e70221000001f5a2bd040000000049454e44ae426082');
break;
}
die;
Expand Down

0 comments on commit eb571b5

Please sign in to comment.