linz / basemaps

NZ’s authoritative and open digital basemap service for LINZ and the public.
https://basemaps.linz.govt.nz
Other
92 stars 17 forks source link

feat(geo): Truncate bearing and pitch values in url. #3188

Closed Wentao-Kuang closed 6 months ago

Wentao-Kuang commented 6 months ago

Motivation

We need to truncate the bearing and pitch in url which stay the same as maplibre. 1dp for bearing and 0dp for pitch

Modification

Update the fromSlug function to include the truncate bearing and pitch output in string.

Checklist

If not applicable, provide explanation of why.