Skip to content

Dark Theme with Bing Maps #2054

Answered by pauldendulk
robloo asked this question in Q&A
Jun 10, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I looked at bing maps online and came to the same conclusion as the answer in that stackoverflow answer. They fetch png tiles and use some color transformation to turn it into dark mode. Mapsui has no standard option for that. If something like that would be added I guess the parameters for that should be part of the RasterStyle (Or a class derived from RasterStyle) and those should be applied in the SkiaSharp renderer, which seems possible https://learn.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/graphics/skiasharp/effects/color-filters.

Although this functionality is not standard in Mapsui it is possible to add it yourself using the 'custom style renderers'. This is what @t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@robloo
Comment options

Answer selected by robloo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants