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
22.24k stars 1.76k forks source link

Ground Overlays in NET MAUI Maps #12795

Open swmiller1 opened 1 year ago

swmiller1 commented 1 year ago

Discussed in https://github.com/dotnet/maui/discussions/12703

Originally posted by **swmiller1** January 16, 2023 I have not found a way to implement ground overlays in NET MAUI Maps. I like the polygon & pin flexibility and functionality, but would like the ability to put an image overlay on the map such that pins, current location, and directions are displayed over the image.
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.

jfversluis commented 1 year ago

Could you expand a bit more about what you'd like to see exactly? Do you have any idea what an API would look like to enable this? Please consider using the feature request issue template next time, that will provide a bit more information that we'd like to have.

If you want to have anything today, you could have a look at Mapsui which supports .NET MAUI.

ghost commented 1 year ago

Hi @swmiller1. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

KieranMaclagan commented 1 year ago

This is something we'd really like to see as well. What we need is the ability to provide an image and 4 coordinates (one for each corner) and it would overlay on a map like this: map overlay sample 2

swmiller1 commented 1 year ago

Yes, like the Google maps "Ground Overlay" feature (see link below). The idea is an image that is locked onto coordinates of a map, so that is scales with the map zoom level. Directions and current location work on top of this ground overlay, as it becomes part of the background (map) layer, and is a static image locked into coordinates.

https://developers.google.com/maps/documentation/android-sdk/groundoverlay

The most commonly used application of something similar (on a huge scale) would be the Disney World app, which shows a 3D representation of the park as a ground overlay on a google map. They use pins to display wait times for each ride, and users can get current location as well as walking directions to attractions.

https://ru.pinterest.com/pin/disney-releases-new-disneyland-resort-app-featuring-wait-times-dining-reservations-and-ticket-purchases-inside-the-magic--379920918543401455/