flutter-geocoding icon indicating copy to clipboard operation
flutter-geocoding copied to clipboard

Add place ID field to Placemark class

Open Daeon97 opened this issue 3 years ago • 1 comments

🏗 Enhancement Proposal

Pitch

I understand that the Geocoding API returns a place ID as part of its response.

place_id is a unique identifier that can be used with other Google APIs. For example, you can use the place_id in a Places API request to get details of a local business, such as phone number, opening hours, user reviews, and more

"place_id": "ChIJeRpOeF67j4AR9ydy_PIzPuM",

I wonder why you are not exposing this field inside your Placemark class returned from calling the placemarkFromCoordinates function

Platforms affected

  • [ ✅ ] :iphone: iOS
  • [ ✅ ] :robot: Android

Daeon97 avatar Mar 29 '22 10:03 Daeon97

I am looking for the same thing. For example in places autocomplete, google api return place_id instead of lat and lng.

necessarylion avatar Apr 03 '22 12:04 necessarylion