Salesforce Maps behaves differently on mobile depending on whether a user navigates forward or backward within the Salesforce Mobile App. This article explains when the map state is remembered versus refreshed, and how the Mobile State Remembrance setting affects what's shown when returning to Salesforce Maps.
This article answers the question: when does Salesforce Maps remember its state versus refresh it, as users navigate to and from Maps within the Salesforce Mobile App?
Following this rollout, there will be a differentiation between "Forward" navigation and "Backward" navigation on mobile devices, which will resolve the "Forced Refresh" documented in the following known issue.
For common Maps use cases, including "View Record" and "Take Me There" navigation where the user is leaving the Salesforce Maps page within Salesforce App, the parent app will now remember where the user left off when coming back to Salesforce Maps, either through native device "back functionality" such as Android's toolbar or iPhone's top left app return, or within the Salesforce app through back nav or bottom menu navigation.
The "forced refresh" will continue to take place when users enter Salesforce Maps through a "forward" step, such as launching for the first time in a user session, entering through an external link or custom action such as Map It, etc, or by navigation through the parent app "Hamburger menu" at any time.
Note that when returning to the map through "back navigation," any changes to data made will not be immediately reflected on the Map layers. For example, navigating to "View Record" then editing the record prior to returning to the map would not reflect the edit unless the user manually refreshes the Map or performs a "forward navigation" function described below.
Native "back" functionality such as the top right "most recent app" on iOS or the bottom navigation "back" on Android will recall the cached map state.
The Map state will be remembered for up to five backward steps, so be sure to return to the map if you wish to have your state remembered beyond that.
The map state will be remembered when utilizing bottom tab navigation available on Lightning on Mobile if the map has been referenced in the last five steps, so be sure to return to the map regularly to avoid losing unsaved data.
The map state will be remembered when toggling between apps, such as coming back and forth from Google Maps or a mobile browser, accessed with the Android navigation "square" or double tapping/swiping the iOS home option.
Note that some devices cancel background processes to conserve battery and memory, so the remembrance capabilities beyond going "one step back" may be limited.
Launching Salesforce Maps from the App Launcher or "Hamburger" menu will cause a refresh of any plotted objects, and will remove anything unsaved from the map.
Any "forward" navigation to Maps from custom links or buttons that plot something new (such as Map It) may cause a map refresh. Ensure testing of any custom map triggers or actions to validate whether it generates a new map state.
See Mobile State Remembrance for setup details.
When toggling on the "Mobile State Remembrance" setting, Salesforce Maps tells the app to remember what's currently plotted, so it can replot upon returning to the app in forward navigation. This still happens, but will appear as a "replot/refresh" rather than a remembered state. Note that this setting will only affect layers, routes, and schedules that have already been saved, and not those currently being configured, and will not remember zoom levels or currently selected markers or customizations.
This setting still "saves" the state of what's plotted, but it doesn't cache — it effectively re-plots on a fresh load of the page. In a future release, the phrasing of this setting will be changed to "Show last session's layers, routes and schedule" to avoid further confusion around the mobile state remembrance options.
000389791

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.