Skip to content

Conversation

@1ec5
Copy link
Member

@1ec5 1ec5 commented Nov 27, 2025

Added unlocalizedNameProperty and localizedNamePropertyFormat options to the existing maplibregl.Diplomat.localizeLayers() and maplibregl.Map.prototype.localizeLayers() methods that default to the OpenStreetMap format (name, name:*) but can be set to the Mapbox Streets format (name, name_*) for compatibility with more tilesets like Shortbread and OpenHistoricalMap.

Fixes #5.

@1ec5 1ec5 self-assigned this Nov 27, 2025
@1ec5 1ec5 added the enhancement New feature or request label Nov 27, 2025
@1ec5 1ec5 merged commit 55f6157 into main Nov 27, 2025
3 checks passed
@1ec5 1ec5 deleted the 1ec5-name-format-5 branch November 27, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make name key format configurable

2 participants