maplibregl-mapbox-request-transformer
maplibregl-mapbox-request-transformer copied to clipboard
Extend normalizeSpriteURL to handle URLs with density qualifiers
Previously, the function normalizeSpriteURL
could only handle URLs in the format /mapbox/streets-v12.png
, /mapbox/streets-v12.json
. This commit modifies the function to also accommodate URLs with density qualifiers, like /mapbox/[email protected]
, /mapbox/[email protected]
.