dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.87k stars 1.69k forks source link

Customize map style #10706

Open KSemenenko opened 1 year ago

KSemenenko commented 1 year ago

Description

I think we need ability to customize map colors for iOS and Android.

https://fmo91.medium.com/customize-mapkits-mkmapview-with-google-maps-styling-wizard-a5dcc095e19f#.ss3dencgh

https://developers.google.com/maps/documentation/javascript/json-styling-overview

Public API Changes

 map.MapStyle = File.ReadAllText(mapstyle.json);

Intended Use-Case

Look at Uber or other map apps. You almost always need a special color style for the map. Which is different from the default style.

So I think that this functionality will be useful to everyone

dgokhan commented 1 year ago

i found such an example from ancient times. https://www.xamboy.com/2019/06/13/google-maps-styling-in-xamarin-forms/

might help => https://github.com/amay077/Xamarin.Forms.GoogleMaps

+following and will do some research this issue.

dgokhan commented 1 year ago

I tried something and succeeded but not as i want..

the project i tried: @VladislavAntonyuk - MauiMap

It's not getting properties(*MapStyle) yet, as Maui doesn't have MapRenderer. (or i didn't :d)

source: https://github.com/dgokhan/MauiMapStyle

dark

dark

ghost commented 1 year ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.