Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
google_maps_place_picker provides ‘Picking Place’ using Google Maps widget.
You may also explore our Flutter app development page.
Specify your API key in the application manifest android/app/src/main/AndroidManifest.xml
android/app/src/main/AndroidManifest.xml
Note:- Make sure you are using androidX environment for your android project development.
Specify your API key in the application delegate ios/Runner/AppDelegate.m
ios/Runner/AppDelegate.m
Or in your swift code, specify your API key in the application delegate ios/Runner/AppDelegate.swift
ios/Runner/AppDelegate.swift
On iOS, you’ll need to add the following entries to your Info.plist file (located under ios/Runner) in order to access the device’s location.
Simply open your Info.plist file and add the following-
In addition, you need to add the Background Modes capability to your XCode project (Project > Signing and Capabilties > “+ Capability” button) and select Location Updates.g> This app needs access to location when open and in the background.
Background Modes
Location Updates
Opt-in to the preview of the embedded view by adding a boolean property to the app’s Info.plist file with the key io.flutter.embedded_views_preview and the value YES.
Info.plist
io.flutter.embedded_views_preview
YES
Add the below-mentioned package in your pubspec.yaml file
You can use PlacePicker by pushing to a new page using Navigator, OR put as a child of any widget.When the user picks a place on the map, it will return result to ‘onPlacePicked’ with PickResult type. Alternatively, you can build your own way with ‘selectedPlaceWidgetBuilder’ and fetch result from it (See the instruction below).
By default, the Pin icon is provided with very simple picking animation when moving around.However, you can also create your own pin widget using ‘pinBuilder’
To know more about google_maps_place_picker please check this link
Hopefully, this blog will be helpful to you to understand the Google Maps Place Picker. If you have any queries, please write them in the comment section.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
It was a successful collaboration. The Mobikul team provided the client everything they needed in a timely and high-quality manner. They were very professional, reliable, and accessible during the entire process. The client also saw no room for any improvements in the vendor's performance.
Vincenzo Carrano
Administrator, Segshop
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.