How to adjust or move a Marker in Salesforce Maps

Salesforce Maps uses the address information from the record to place markers, but some are misplaced and you need to move a marker manually to match with the true location that might be right across the street or just a little bit more to the right. This manual adjustment is called a Verified Location.

First, Setup Verified Location

Create necessary fields for Verified Location

  1. In the Salesforce Org, go to Setup > Object Manager. Enter into the base object you’re using to plot the markers in Salesforce Maps
  2. Go to Fields & Relationships tab and click the New button on the top right
  3. Choose Number and click Next
  4. Fill out the information:
    • I named it Verified Latitude because it made sense
    • Length: 3
    • Decimal places: 15
  1. Click Next
  2. Make sure the field is visible to at least your own Profile and click Next
  3. Choose whether to add it to a page layout or not (up to you, you’ll only use this field from Salesforce maps interface)
  4. Click Save

Repeat steps 3-8 to create another field called Verified Longitude

Add Verified Location button to Salesforce Maps interface

  1. Go to Setup and type in Installed Packages on the quick search bar and click on it
  2. In the Installed Packaged table, find Salesforce Maps and click on Configure
  3. In the Settings tab, click on Button Sets
Salesforce maps settings: button sets
  1. On the Button Set dropdown, choose Maps Buttons, which is the default. You can additionally create a new one if you please.
  2. In the Layout section below, find the Set Verified Location button and drag it to the Tooltip Layout wherever you want and drop it
salesforce maps tooltip adding set verified location button to be able to move a marker in salesforce maps
  1. Click Save in the bottom of the page

Configure Base Object to use Verified Location coordinates

  1. Go to Setup > Installed Packages > Salesforce Maps > Configure > Base Object
  2. Click on the Edit Existing tab
Salesforce maps settings editing existing base object
  1. In the Base Object drop down list, click on the desired Base object that is being used for the marker layer
  2. Scroll down to the Address and Coordinate Fields section
Salesforce maps settings for base object address and coordinate fields and verified latitude verified longitude to move a marker
  1. In the Coordinate Fields subsection, set the Verified Latitude and Verified Longitude to the respective fields you created
salesforce maps verified latitude and verified longitude fields to move a marker
  1. Scroll all the way down and click Save

How to set a Verified Location to move a marker in Salesforce Maps

Now that everything is ready, open Salesforce Maps and make sure the Marker layer you want to modify is open and plotted on the map.

  1. Click on the marker you want to move and click on the Actions tab. You’ll see the tooltip with the options you added
salesforce maps set a verified location button in marker tooltip used to move a marker in the map
  1. Click on Set Verified Location. The marker will turn semi-transparent.
  2. Grab the marker and move it to the desired location.
  3. Once you drop the marker, it will become opaque and set in the location, the latitude and longitude of this new location will be set in the Verified Latitude and Verified Longitude fields you previously created on that particular record
  4. Done. that’s all it takes to move a marker in Salesforce Maps

You can also differentiate markers by using different colors or marker modes or changing the color of KML shapes you’ve loaded in other layers. Keep in mind that this method won’t work for things you load from KML files.

Was this article helpful?
YesNo