docs-maui
docs-maui copied to clipboard
How to configure and use Google Maps Places API in .net Maui
Type of issue
Missing information
Description
Hello, I am currently developing a .net maui app that uses the maui maps library with google maps api. I have searched for how to get googles Places API to work, but i cant find any documentation on this. If a user clicks a "point of interest" of place you would get rating and details of the place. this is the link to the documentation https://developers.google.com/maps/documentation/places/web-service Can somone point me in the right direction?
[Enter feedback here]
Page URL
https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/map?view=net-maui-8.0
Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/user-interface/controls/map.md
Document Version Independent Id
3b9eb607-2e67-164a-b72b-c6750f05a972
Article author
@davidbritch
Metadata
- ID: 3b9eb607-2e67-164a-b72b-c6750f05a972
- Service: dotnet-mobile
- Sub-service: dotnet-maui
Hi @BroomTank
So at a glance it'll be a case of using the MapClicked
event to get Location
data, then hitting up the REST API with the required data and processing the response. The issue then depends on where you're trying to display the data you've got back? Do you want to overlay it on the map?