Skip to content

Conversation

@kubaflo
Copy link
Contributor

@kubaflo kubaflo commented Apr 21, 2025

Description of Change

This PR proposes support for detecting click interactions on Polygon, and Circle elements within the .NET MAUI Map control.

Public Api Changes

circle.CircleClicked += (s, e) =>
{
	Application.Current!.Windows[0]!.Page!.DisplayAlert("Circle Clicked", "You clicked the circle!", "OK");
};

polygon.PolygonClicked += (s, e) =>
{
	Application.Current!.Windows[0]!.Page!.DisplayAlert("Polygon Clicked", "You clicked the polygon!", "OK");
};

Issues Fixed

Fixes #28825

Demo

Android iOS
Screen.Recording.2025-04-21.at.14.52.42.mov
Screen.Recording.2025-04-21.at.14.51.33.mov

@kubaflo kubaflo self-assigned this Apr 21, 2025
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Apr 21, 2025
@dotnet-policy-service
Copy link
Contributor

Hey there @@kubaflo! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@jfversluis jfversluis added this to the .NET 11 Planning milestone Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MAP-Control Polyline,Polygon,Circle OnClicked Event

2 participants