fix: text
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
15dee2b072
commit
82bbd8c6ba
1 changed files with 1 additions and 1 deletions
|
|
@ -472,7 +472,7 @@ const respondImage = (
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// END HACK(Part 2) 256px tiles are a zoom level lower than maplibre-native default tiles. this hack allows tileserver-gl to support zoom 0 256px tiles, which would actually be zoom -1 in maplibre-native. Since zoom -1 isn't supported, a double sized zoom 0 tile is requested and resized here.
|
// HACK(Part 2) 256px tiles are a zoom level lower than maplibre-native default tiles. this hack allows tileserver-gl to support zoom 0 256px tiles, which would actually be zoom -1 in maplibre-native. Since zoom -1 isn't supported, a double sized zoom 0 tile is requested and resized here.
|
||||||
if (z === 0 && width === 256) {
|
if (z === 0 && width === 256) {
|
||||||
image.resize(width * scale, height * scale);
|
image.resize(width * scale, height * scale);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue