-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-controls-mapMap / MapsMap / Mapsproposal/opent/enhancement ☀️New feature or requestNew feature or request
Milestone
Description
Description
In MAUI-MAP Control Polyline,Polygon and Circle have no GestureRecognizers nor OnCLicked Event. So it is not possible to detect an click on any of these elements. But this is a use case that would be often needed. Please add it.
Public API Changes
TapGestureRecognizer tapGestureRecognizer = new TapGestureRecognizer();
tapGestureRecognizer.Tapped += (s, e) =>
{
// Handle the tap
};
Microsoft.Maui.Controls.Maps.Polyline p = new Microsoft.Maui.Controls.Maps.Polyline();
p.GestureRecognizers.Add(tapGestureRecognizer);
Intended Use-Case
Detect taps on Circle,polygin,polyline in a map, like for choosing a route.
Metadata
Metadata
Assignees
Labels
area-controls-mapMap / MapsMap / Mapsproposal/opent/enhancement ☀️New feature or requestNew feature or request