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.
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.