Loading

Build Markers with Salesforce Maps Marker Layer

Julkaisupäivä: May 12, 2026
Kuvaus

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. 

Ratkaisu

Check out this quick video to learn how to display markers with different colors and shapes.


The video above shows 5 different ways to visualize markers on the map. You can find more details about each method below.

Prerequisites

Uniform

All markers will be 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

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 will 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 will be 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, will result in 0 records in the 'Other' category in the legend. Using a value of 5 will result in the 'Other' category containing records where there is less than 5 of that field value.
  • Picklist fields: All active picklist values will 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

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

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

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.
 

Knowledge-artikkelin numero

000380169

 
Ladataan
Salesforce Help | Article