-
AuthorPosts
-
June 8, 2024 at 16:55 #56086
troNpo
ParticipantHello, it is possible to add the line
<hillshading zoom-min=”9″ zoom-max=”20″ />
As a layer selection menu item?
I can’t do this using the usual “cat=” attribute
Thank youJune 8, 2024 at 17:19 #56088
EmuxParticipantHillshading is controlled externally by the app settings.
It is not like all the other internal map theme elements.
Cruiser and Mapsforge developerJune 8, 2024 at 18:10 #56089troNpo
ParticipantOk, thanks, the idea of not having to go to the app’s settings to activate deactivate.
June 9, 2024 at 06:56 #56091ikoms
ParticipantIf you use oruxmaps you can add a button to the left or right menu as you wish
June 27, 2024 at 13:58 #56157
EmuxParticipantAugust 19, 2025 at 20:49 #58249LaurentG
ParticipantHello @Tobias this is for you !
Since it’s feasible (I tested, it works !), it would be great to update Elements & Elevate to have the hillshading optional (ie.selectable in layer menu).
Personnally, I have customized my own copy of these themes, to make hillshading optional with two levels of options : Hillshading at zoom 9-11 and Hillshading at zoom 12-17
And never shading in “City” menu.I would prefer that these “options” are also in the OOTB themes, and not to have to replicate them in future versions….
August 24, 2025 at 09:52 #58267
TobiasKeymasterHi LaurentG,
The hillshading on/off switch should already be in your app, at least in OruxMaps it’s available. I don’t want to increase the number of options in elevate as there are already too many im my opinion.
But I can try disabling hillshading by default for city if it’s possible.
Best regards,
TobiasDeveloper of Elevate mapstyle
August 24, 2025 at 10:15 #58269
EmuxParticipantAugust 24, 2025 at 18:20 #58271LaurentG
ParticipantThank you @Tobias and @Emux for answering.
Yes, I know that we can, in Orux, globally switch hillshading on or not.
For hillshading of “non-mapsforge” maps, Oruxs allow to have a button on screen (and I’m having it), but unfortunately not for mapsforge maps hillshading. We need to go deep in the menus to activate/deactivate hillshading.
And this requires 5 clics… while select an option in current Theme needs only 2 clics…I’m not ashame to be lazy…. 😉We can also (in Orux) deactivate mapsforge hillshading, and in this case, the “global hillshading” (and then the button) applies also to mapsforge maps. It’s actually what I did before… until I discovered the “hillshading” istruction in mapsforge’s render theme.
The major advantage, in my opinion, to use this way of hillshading, is that it allow to have for mapsforge maps hillshading at certain zoom levels, and not at other zoom levels, and even more, it allows to have magnitude of hillshading depending on zoom level. And really, it’s better to have “slight” hillshading at low zoom levels, but more “strong” hillshading at higher zoom levels.
For all these reasons, I switched to the “mapsforge’s hillshading” (for mapsforge maps).Anyway, you are the owner, and I would say the “master” of Elevate/Elements render theme, and it’s up to you to decide.
We, users, have only to say thank you for providing us with these themes.
And it remains very simple (for me) to replicate my customizations in your future versions of the Themes, when they come.Maybe one last remarks : If you do not create an option, visible by the user, I’m not sure it’s a good idea to remove the hlllshading from “City” style. It could be a little bit strange for users.
If nevertheless you want to do so, it’s very easy : Even without “user option”, different styles can activate a specific “Cat”, that “City” would not activate, Cat upon which you condition hillshadingAugust 24, 2025 at 22:20 #58272mbe57
ModeratorMy understanding of Emux’ explanation is: the Mapsforge library does not support hillshading. Hence, whatever you configure in a Theme is meaningless. Except the App would implement a mechanics to interpret these specific hillshading definitions theme, outside/besides/beyond the Mapsforge software.
Not sure is any app actually does that.August 24, 2025 at 22:23 #58273
TobiasKeymasterI haven’t tested the (relatively new) options to use cat on hillshading yet, that’s why I wrote a cautious if possible.
I also use OruxMaps internal hillshading and deactivated mapsforge because it was the better option for me with all internal options for DEM based maps. I limit internal hillshading to only some ZLs and never turn it off. mapsforge hillshading was added only because of user demand – it was quite inferior at that time. Maybe I should check the current state of it.
Hillshading as an option would imply that it is a theme function which is it only partially. You need to have DEM files, the app has to support it. So it would lead to additional support etc.
For city I could add it to switching it with contour lines, makes sense to me.
Developer of Elevate mapstyle
1 user thanked author for this post.
August 25, 2025 at 08:05 #58274
EmuxParticipantMapsforge and VTM support hillshading.
There is a new improved implementation in the latest releases contributed by the community.
Cruiser and Mapsforge developerAugust 25, 2025 at 15:14 #58276
ChristianKKeymasterThere is a new improved implementation in the latest releases contributed by the community.
This means it will last a while till this new version will be implemented in the major APPs and with Locus its questionable cause it uses a highly modified version.
However, for me this is no problem – Orux and Locus have native hillshading.
So we can wait till APPs are updated.August 25, 2025 at 16:55 #58278LaurentG
ParticipantHowever, for me this is no problem – Orux and Locus have native hillshading.
And for me, as well, this is not a problem, since hillshading of current version of Mapsforge works already fine and (as already said above) is IMHO better than Orux native hillshading, in the sense it is more flexible and allow variable magnitude depending on zoom level.
-
AuthorPosts
- You must be logged in to reply to this topic.