Repository navigation
|
textKey is at the moment restricted to "ele", "addr:housenumber", "name" and "ref", but OpenAndroMaps and thus most render styles out there (e.g. Locus, Elevate, Tapiola, Voluntary, OS MAp, ...) also use "ref_cycle", "ref_hike" and "ref_mtb" which makes the themes invalid Mapsforge render themes. In a perfect world, OpenAndroMaps would simply fix their broken tag mapping, but in the real world maybe it would be better to extend the textKey enumeration as a lot of stuff is already "out there". Also see the relevant OpenAndroMaps discussion. |
Replies: 3 comments 10 replies
|
It depends on what text tags are allowed in the map file specification:
|
|
If the key "hard-depends" on the map data, then OpenAndroMaps have to fix their tag mapping. But AFAIK this is not true and the existing themes (e.g. Elevate) and data (OpenAndroMaps) IMHO prove this as the themes simply work even with the "extra" text keys. If you run: you will see that the theme is invalid: but the path texts get still rendered fine with Mapsforge (and even with the alternative map/rendertheme implementation in GPXSee). |
We could probably change line 177 and line 267 to
type="xs:string".