Mapping Fields
Mapping Fields
NOTE: Mapping fields are only available as a paid add-on feature. Contact your representative to inquire about getting these fields.
Mapping fields use Google Map APIs to map locations on aerial maps. You can map an area, location, route and more. Some of the maps require a Latitude / Longitude pair to be able to map. Acquiring the LAT/LON values form addresses may be possible using the Call REST API action if you have a REST endpoint you can call. There are several services available such as Google.

View Map - Shows a map of a specified Latitude / Longitude. This map is made to show locations without any pins or specific pojnts of interest
Address Map - Shows a map of a specific address and its general area. This map is made to a pin to specify one address on he map.
Directions Map - Shows a map of the route from one to address to one other address. It only supports a single FROM address and a single TO address.
Search Map - Shows a map with locations based on a human readable description. For instance, using a search criteria of "hotels in lincoln ne" will show hotels in the Lincoln, NE area.
Locations Map - Shows a map with multple Latitude / Longitude coordinates. This map is used to map multiple locations on a single map. This does not support routing - just mapping. You can manually program the locations into the E-form or you an use DMGETOPTIONS to fill locations based on Records. It also supports a click event that can show a pop up form or can trigger other fields in the E-form. See Locations Map Notes below for detailed information.
Locations Map Notes:
The Locations that you can program into the form can be manually added or can use the DMGETOPTIONS. The options are loaded exactly like options in option, Multi-Option, and Radio fields. The Location properties correlate to the Option properties like this:
- ValueField = Lat/Lon
- DisplayField = Pin Title
- FilterField = Description
- AmountField = Amount
Lat/Lon - This must be a latitude/longitude of the location to map.
Pin Title - This is used as the text that shows as you hover over a location pin on the map.
Description - This can be simple text or can even be HTML that is used to display a pop up when a pin is clicked. It can also be the name of a field on the E-form to trigger (see Amount)
Amount - This is a numeric value that can be used as the value to set a field to (see Description). When the pin is clicked, if the description matches a field name then that field's value is updated to the Amount value. This is useful to trigger Multi Action fields with the Record ID that represents that location clicked.
Sample DMGETOPTIONS to get Record data as locations:
[DMGETOPTIONS(123|0||LatLon|Title|||Description|RecordID)]
Description of DMGETOPTIONS usage:
This will query Record Type ID 123 and return the LatLon field, the Title field, Description field and the ID of the Record as the option data. When a pin is hovered, the Title is shown. When the pin is clicked, a pop up shows with the Description shown. But if the Description is the same as a field name and there is an Amount value, the click will set the specified field to the Amount value.