Cef
Cef

Reputation: 929

How do you get a .Net Maui Map Center Location?

If a user scrolls the map I'd like to get the location under the center of the map. I know there's the Map.Frame.Center, but that's the center of the map control rendering, not the map location.

If that property is not available is there any information available as to where the user has moved the map to?

Upvotes: 2

Views: 657

Answers (1)

Jason
Jason

Reputation: 89169

Use mymap.VisibleRegion.Center

Upvotes: 4

Related Questions