This article explains how to build a Salesforce Maps Marker Layer that plots only records with associated Tasks or Events, such as Accounts with a Task due on a specific date. It also explains the 150,000-record limit that can cause inconsistent results when you use activity filters.
The following video shows how to open Marker Layer settings, select the Activity Filters tab, and configure Task and Event criteria to filter plotted records.
Salesforce Maps first queries the first 150,000 records of the Marker Layer's base object, then passes those record IDs to a second query that applies your activity filter criteria. If a user has access to more than 150,000 records of the base object, records beyond the first 150,000 never reach the activity filter, so the plotted results can be inconsistent.
To avoid this, add field filters to the base object first so it returns fewer than 150,000 records, and then add your activity filter logic. For example, if your Marker Layer uses the Account Billing base object (Accounts plotted by billing address), filter the Accounts by owner or by billing state before you add Task or Event filters.
000380316

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.