Skip to content

MAP-Control Polyline,Polygon,Circle OnClicked Event #28825

@TFreudi1

Description

@TFreudi1

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

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions