Provide Maps and Location Services
Maps and location services uses Google Maps to display maps on standard address fields, enables creation of Visualforce maps, and helps users enter new addresses with autocomplete.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Professional, Enterprise, Performance, and Unlimited editions. |
| User Permissions Needed | |
|---|---|
| To modify maps and location settings: | Customize Application |
To generate a map image, an address must include the street and city fields and either the state, postal code, or the country. If an address field is missing any of the required information, a map won’t display on the detail page of a record.
The map image on the address is static, but clicking the map image opens Google Maps in a new browser tab on the desktop, and opens a map app on a mobile device.
If your organization has Salesforce offline access enabled, a map doesn’t display when a user’s device is offline.
- From Setup, enter Maps in the Quick Find box, select Maps and Location Settings, then click Edit.
- Check Enable Maps and Location Services.
- Click Save.
- Autocomplete Addresses
When you enable autocomplete addresses, users of Salesforce app, Experience Cloud Aura, and Experience Cloud Lightning Web Runtime (LWR) sites can enter text in address fields and see possible matching addresses in a picklist. - Considerations for Autocompleting Addresses
Get familiar with these considerations before you enable the autocomplete address fields feature. - Let Users Select States, Countries, and Territories from Picklists
State and country/territory picklists let users select states, countries and territories from predefined, standardized lists, instead of entering state and country/territory data into text fields. State and country/territory picklists offer faster and easier data entry. They help to ensure cleaner data that can be harnessed for other uses—in reports and dashboards, for example. They protect data integrity by preventing typos, alternate spellings, and junk data—even in records updated through the API.

