When creating marker layers there are numerous considerations to achieve the most optimal performance and results when plotting on the Map. This document provides best practices and considerations when creating the Marker Layers in SF Maps. This will include performance impacts, technical structure, and limitations.
Please note this article is written based on generic performance but performance can vary based on the network connection, browser, device, interaction with shape layers, updating records via Maps Actions, and individual Salesforce org performance.
For new customers or for the implementation of a new base object, consider batch automation for geocoding records prior to rolling out to the end users. This will help minimize the time it takes for a marker layer to plot and bypass potential permission-related issues for the end user when writing the latitude and longitude coordinates back to the record.
When creating a Maps Marker Layer you are utilizing the Marker Layer Builder to create SOQL queries to execute via Remote Apex. For optimal performance, we recommend reviewing best practices with SOQL especially when working with large data volumes and not filtering by null values and using selective filters. Additionally, we offer additional filter types that can be run as a subquery which can impact the records returned. Please review Use Filters to Build a Marker Layer in Salesforce Maps for more information. Our default permission group is set to a limit of 5,000 records per marker layer and can be extended in the permission group settings but the number of records returned and how they are displayed can have an additional impact on performance.
Although both the number of records that are being queried and the number returned can impact performance, how they are displayed adds another layer of complexity to how the layer performs. We offer various ways to style your maker layers out of the box as well as provide the ability to upload your own custom icons. Here are some considerations for some of the ways to style your markers after the SOQL query executes:
Salesforce Maps allows mass actions from the marker legend as well as updating colors and shapes on the map. Please consider the number of records being updated and any automation on the object that might be triggered from a field update or ownership change made from Salesforce Maps.
How to optimize the Point of Interest Search for Salesforce records in Salesforce Maps
Use filters to build a Maps Marker Layer
000395535

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.