Skip to content

Use a general xs:string for pathText and caption keys instead of fixed sets - #1726

Merged
devemux86 merged 1 commit into
mapsforge:masterfrom
tumic0:textKey
Sep 8, 2025
Merged

devemux86 merged 1 commit into
mapsforge:masterfrom
tumic0:textKey

Conversation

@tumic0

@tumic0 tumic0 commented Sep 6, 2025

Copy link
Copy Markdown
Contributor

OpenAndroMaps maps and themes use aditional keys like "ref_hike" or "ref_cycle" that can not be used with valid render themes. The Mapsforge library and even the alternative implementation in GPXSee can already handle arbitrary keys, so extending the theme should cause no harm to any user while at the same time making themes like Elevate valid.

…d sets

OpenAndroMaps maps and themes use aditional keys like "ref_hike" or "ref_cycle"
that can not be used with valid render themes. The Mapsforge library and even
the alternative implementation in GPXSee can already handle arbitrary keys, so
extending the theme should cause no harm to any user while at the same time
making themes like Elevate valid.
@devemux86

devemux86 commented Sep 6, 2025 •

Copy link
Copy Markdown
Collaborator

Note: xml schema is only about the theme validation in the xml editors.

It does not change how the OpenAndroMaps and other maps and themes can be used.

So if additional keys like "ref_hike" or "ref_cycle" are already displayed if included in map files and themes,
then we can merge this.

See the discussion in #1725

@devemux86 devemux86 added this to the 0.26.0 milestone Sep 8, 2025
@devemux86
devemux86 merged commit 28086fe into mapsforge:master Sep 8, 2025
@tumic0
tumic0 deleted the textKey branch September 9, 2025 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants