Adding a location field
Help your users indicate geographic points more conveniently by providing
the option to type an address in a location field. For example, a ride-sharing
application might use the location field to help users set a pickup point.
A location field consists of a map and a text box in which the user can enter the address of
a place that they want to mark on the map.
Before you begin: Prepare and implement the API key:
- Obtain a Google API key. For more information, see the Get an API Key tutorial from Google.
- Enable Maps JavaScript and Geocoding APIs in your Google Developer account.
- Configure the Dynamic System Settings. For more information, see Configuring dynamic system settings for geographic reference.
- Add a Map control to the layout. For more information, see Adding controls.