maplibregl-mapbox-request-transformer icon indicating copy to clipboard operation
maplibregl-mapbox-request-transformer copied to clipboard

Extend normalizeSpriteURL to handle URLs with density qualifiers

Open truongvan opened this issue 1 year ago • 1 comments

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].

truongvan avatar Sep 05 '23 05:09 truongvan