Axsy Maps for Web displays your Salesforce data on an interactive map in the Salesforce Web UI. Any standard or custom object whose records have a location can be shown on the map as its own layer, alongside layers from other objects. A location can be a Geolocation field, a compound Address field, a lookup to a Location or Polygon record, or GeoJSON stored in a text area field.
Axsy Maps for Web is made up of three components:
| Component | Where it is used | Purpose |
| Maps tab | The Axsy Maps app (or any Lightning app, home page or app page) | A full-page map showing the layers configured by your administrator. |
| Axsy Maps Record Page | Lightning record pages | Shows, and optionally edits, the location or shape of the record being viewed. |
| Axsy Maps Related List | Lightning record pages | Shows the locations or shapes of the records in one or more of the record's related lists. |
NOTE: Axsy Maps for Web is separate from the map views in the Axsy Mobile App, which are configured with the Axsy Config Tool. For the mobile app, see Map Layers and Viewing Object Lists on a Map. It is also separate from the Axsy Map Tab, which shows the geo-location of mobile users. See Axsy Map Tab.

Setting Up Axsy Maps for Web
Assign Permission Sets
Two permission sets are included in the Axsy managed package. To assign them, navigate to Setup > Users > Users, select a user, and click Edit Assignments in the Permission Set Assignments related list.
| Permission Set | Assign to | Grants |
| Axsy Maps Core | Every user of Axsy Maps for Web | Access to the Axsy Maps app, the Maps tab, and the Axsy Maps components. |
| Axsy Maps Administrator | Users who configure map layers | The Axsy Maps Configure Layers custom permission, which shows the Settings (cog) button on the Maps tab. Assign together with Axsy Maps Core. |
IMPORTANT: The Axsy Maps permission sets do not grant access to any objects or fields. Users must also have read access, through their profile or other permission sets, to the objects and location fields displayed on the map, and edit access to the fields they are expected to edit from a record page map.
Open the Maps Tab
The Maps tab is found in the Axsy Maps app, which can be opened from the App Launcher. The Maps tab can also be added to any other Lightning app, and the Maps component can be placed on a Lightning Home Page or App Page using the Lightning App Builder.
NOTE: The base map is drawn using images from OpenStreetMap. No Salesforce data is sent to OpenStreetMap. See How Axsy Web Apps Make Use of OpenStreetMaps.
Configuring Map Layers
Each layer of the Maps tab shows the records of one object. Layers are configured by a user with the Axsy Maps Administrator permission set, and apply to all users in the org.
- Open the Maps tab and click the Settings (cog) button in the top right of the map. The Layer Settings window opens. If no layers have been configured yet, it opens automatically.
- Click Add Layer.
- Leave the Layer Type set to SObject, select the object to display in SObject Type, and click Add.

- With the new layer selected in the Layers list, complete its settings (see the table below). At least one Data Source must be selected before the settings can be saved.
- Repeat for each object you want to display, then click Save.
Layer Settings
Multiple data sources, the heat map, Default List View and Overwrite Create Record Settings for this Layer are available in Axsy Mobile Inspection Suite 10.7 or later.
| Setting | Description |
| Layer Colour | The colour used to draw the layer's points and shapes, and its icon in the key. Defaults to the object's icon colour. |
| Layer Label | The name shown for the layer in the map key. Defaults to the object's label. |
| Data Sources | The field or fields that hold the location of each record. Up to 5 data sources can be added with the + button, and the record is drawn once for each data source that has a value. See Data Sources below. |
| Default List View | The list view used to choose which records are displayed when the map first loads. All displays every record the user can see. Users can change the list view from the map key. |
| Render points as heatmap | If enabled, the layer's points are drawn as a heat map rather than as individual pins. |
| Heatmap Spread / Heatmap Intensity | Shown when the heat map is enabled. Adjust how far each point's heat spreads and how strongly it contributes. |
| Overwrite Create Record Settings for this Layer | If enabled, Create Record Here from this layer's records creates the object configured here instead of the object configured under General Settings. |
| Delete Layer | Removes the layer from the map. |

Data Sources
A data source is a field on the layer's object, or on a record related to it, that holds a location. The following field types can be used:
| Field type | How it is displayed |
| Geolocation field | A point. |
| Compound Address field (for example, an Account's Billing Address) | A point, using the address's Latitude and Longitude. Records whose address has no latitude and longitude (for example, because it has not been geocoded) are not displayed. |
| Lookup or master-detail to a Location record | A point, using the Location field of the Location record. |
| Lookup to a Polygon record | A shape, using the GeoJSON data of the Polygon record. |
| Text Area field holding GeoJSON | Any GeoJSON geometry: points, lines, polygons and their multi-part versions. |
Fields on related records can be reached through lookup fields, up to 4 relationships deep. For example, a layer on Account could use Parent Account > Billing Address. When the layer's object is Location or Polygon itself, the record's own location or shape is used.
NOTE: To display records of the standard Address object, use its Parent field as the data source. Parent is a master-detail relationship to a Location record, so each Address record is drawn at the location of its parent Location.
NOTE: The Polygon object is a standard object in Salesforce Public Sector Solutions orgs only.
General Settings
Available in Axsy Mobile Inspection Suite 10.7 or later.
Select General Settings, below the Layers list, to configure the map-wide default for the Create Record Here action:
| Setting | Description |
| Create Record Object | The object created when Create Record Here is chosen from the map or from a record's popup. Defaults to Location. |
| Coordinate Field Mapping | The Geolocation or Text Area field on the created record that receives the clicked coordinates. |

Working with the Maps Tab
When the Maps tab opens, every layer is loaded and the map zooms to fit all of the records. Records that are close together are grouped into numbered clusters, which separate into individual pins as you zoom in.
Using the Map Key
The key, in the top left of the map, lists each layer with its icon and colour. While a layer is loading, a spinner is shown next to its name.

| Control | Description |
| Layer name | Click to hide or show the layer. The eye icon shows whether it is currently visible. |
| List view | Choose a different list view to change which of the layer's records are displayed. |
| Zoom to Fit Layer | Zooms and recentres the map on the records of that layer. |
| Download GeoJSON | Downloads the layer's currently displayed records as a GeoJSON file. |
| Refresh All Layers | Reloads every layer from Salesforce. |
| Show Labels / Hide Labels | Shows each record's name as a label on the map, for all layers. |
| Zoom to Fit All Layers | Zooms and recentres the map on all visible layers. |
The visible layers and the selected list views are remembered when the page is reloaded.
Download GeoJSON, and remembering the visible layers and list views, are available in Axsy Mobile Inspection Suite 10.7 or later.
Viewing Record Details
Click a pin or shape to open its popup. The popup shows the fields from the object's compact layout (up to four fields). Click the record's name in the popup to open the record in Salesforce.

Creating a Record on the Map
Available in Axsy Mobile Inspection Suite 10.7 or later.
Create Record Here creates a new Salesforce record at a chosen point, with the point's coordinates saved in the configured field:
- Right-click anywhere on the map and select Create Record Here, or
- Click the Actions button in a record's popup and select Create Record Here.
The object that is created, and how its fields are filled in, are configured by your administrator in the map settings. Required fields that are not given a value are filled in automatically, so open the new record afterwards to check it and complete any remaining details.

Maps on Record Pages
The Axsy Maps Record Page and Axsy Maps Related List components are added to a record page with the Lightning App Builder: open a record, click the Setup (cog) menu, select Edit Page, and drag the component from the Custom - Managed section onto the page.
Axsy Maps Record Page
Displays the location or shape of the current record, and allows users to edit it.
| Property | Description |
| Label | The label shown in the component's key. |
| Field Path | The field holding the record's location: a Geolocation field, or a lookup to a Location or Polygon record. Fields on related records can be used with dot notation, for example Account__r.Location__c. Leave blank when the page is for the Location or Polygon object itself. |
| Read Only | True prevents editing. False allows editing. Lookups Only (the default) prevents editing only when the location is held on a related record rather than on the current record. |
| Max Features | Optional. The maximum number of points or shapes that can be added to the record. |
| Available Geometry Types | All, Polygon Only or Point Only: the types of geometry the user can draw. |
| Height | Small or Large. |
To edit the location or shape, click Edit in the component's key. Double-click on the map to add a point, and drag pins to move points. The key becomes a tree editor listing each shape, line or ring and its points, which can be selected or deleted individually. Click the Save button to save the changes to the record, or the X (Discard) button to cancel them.

Axsy Maps Related List
Displays the records from one or more related lists of the current record on a map. For example, on an Account page, it can show the locations of the account's Contacts and Cases.
| Property | Description |
| Label | The label shown in the component's key. |
| Related Lists | A comma-separated list of the API names of the related lists to display, for example Contacts,Cases. |
| Field Paths | A comma-separated list of the fields that hold each related record's location: Geolocation fields, or lookups to Location or Polygon records. |
| Height | Small or Large. |
Limits
- Each layer displays at most 50,000 records.
- Popups show up to four fields from the object's compact layout.
- A layer can have up to five data sources, reaching fields up to four relationships away.