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

Resolved bug in transparent png tile #144

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

scubajorgen
Copy link
Contributor

Thanx for the marvelous tile server!!!
The unpack() function was used which is used to process binary data into an array of php variables. However, the pack() function is needed to convert the hex string into binary data. The format is "H*" i.s.o. "H", indicating multiple hex bytes i.s.o. 1.
If a non-existing tile is requested, now a 256x256 transparent tile is returned.

@scubajorgen
Copy link
Contributor Author

Ah! See #104 also solves this issue...

@idanka
Copy link

idanka commented Aug 6, 2020

Works, i use php 7.4 no error

54254f8

@daliborjanak daliborjanak merged commit eb571b5 into maptiler:master Aug 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants