Loading

Build Markers with Salesforce Maps Marker Layer

Udgivelsesdato: Oct 9, 2026
Beskrivelse

The Markers tab of the Salesforce Maps Marker Layer Builder allows users to assign colors or shapes to the markers that are created when a Marker Layer is plotted to the map. There are five marker assignment types to choose from and endless combinations of color and shape assignments.

Løsning

This article explains the five marker assignment types in the Salesforce Maps Marker Layer Builder and how to use each one to display markers with different colors and shapes. Before you start, create a marker layer (see Additional Resources).

Video: Display Markers with Different Colors and Shapes in Salesforce Maps

Check out this quick video to learn how to display markers with different colors and shapes. The video shows 5 different ways to visualize markers on the map. You can find more details about each method below.

Uniform Marker Assignment in Salesforce Maps

All markers are the same color and shape when a user plots this marker layer on the map. Additionally, select a new color and shape for all markers.

Varied Based On 1 Field Marker Assignment in Salesforce Maps

Choose a field from your base object and dynamically assign colors and shapes to markers in the marker layer based on their value for that field. Use the Field dropdown menu to select a field. Depending on the field type selected, different marker assignment grid options appear. For example:

  • Text and String fields: Select criteria filters and type a string value into each category you want to assign a unique color or shape. Click the plus sign icon to add more assignment categories.
    • Note: Check the Assigned colors and shape for unspecified values field and enter a Threshold Percent for unspecified values. The value in this field determines the amount of categories that are created in the legend by taking the numeric input as a percentage of the total amount of markers returned by the layer and using that as a threshold for category creation. For example, consider plotting a Marker Layer with 100 records. Using a value, such as the default value of .001, results in 0 records in the 'Other' category in the legend. Using a value of 5 results in the 'Other' category containing records where there is less than 5 of that field value.
  • Picklist fields: All active picklist values appear automatically for color and shape selection.
  • Number fields: Enter number ranges for each category you want to assign a unique color or shape. Click the plus sign icon to add more assignment categories, or enter a complete range and select the number of category divisions to create multiple categories at once.
  • Date and Date/Time fields: Enter the start and end date range for each category you want to assign a unique color or shape. Click the plus sign icon to add more assignment categories.

Varied Based On 2 Fields Marker Assignment in Salesforce Maps

Choose two fields from your base object and dynamically assign colors and shapes to markers in the marker layer based on their values for those fields. One selected field determines each marker's shape, and the other selected field determines each marker's color. The same field type assignment options are available for both Varied Based On 1 Field and Varied Based On 2 Fields marker layers.

Labeled Pins Marker Assignment in Salesforce Maps

Automatically display the value in the field selected as Title for this marker layer instead of a marker shape. Users can also assign static Text and Background colors for labels, or dynamically assign colors to labels based on a field from the base object. Select a field from the Color Field dropdown menu to configure dynamic label colors.

Ordered by 1 Field Marker Assignment in Salesforce Maps

Select a field from the base object and automatically display a numeric order for all markers based on their value for that field. Select the sort order and you also have the option to draw a line between all markers in a layer.

Vidensartikelnummer

000380169

 
Indlæser
Salesforce Help | Article