Map Widget Editor General Tab

<< Click to Display Table of Contents >>

Navigation:  Enterprise > Widgets > Map > Widget Editor  >

Map Widget Editor General Tab

To change the properties of the Map widget, open the Widget Editor by selecting the More Options Ent-More_Options-Icon icon in the upper right corner of the widget to display the drop-down menu and then select the Edit menu option. The Map widget properties are divided into six tabs. Changes made on any tab will not be preserved until the user clicks Save on the Widget Editor header.

 

The General tab controls if and how the Facility Layer is displayed on the Map widget.

Ent-Map_Widget_Editor_General2

Show Facility Layer – When checked, the map will show the current session facility. If no session facility is selected, the map displays the facility selected in the Facility field. The Session Facility will still be displayed if this box is not checked. To remove a facility layer, do not select a Session Facility or the Show Facility Layer button.

Facility – Select a facility to view on the map if no session facility is selected (refer to Facility Chooser for more information).

Facility Geography – This section contains a drop-down menu to set the geography type to use for the facility layer. This option is only visible if Show Facility Layer is checked. The drop-down menu list includes Location Points, Facility Polygon, and Location Polygons.

Location Group – Allows the user to select a location group in the Map widget. This option is only visible if Show Facility Layer is checked.

Notes:

If the facility has a large number of locations, it is recommended to divide them into location groups and plot the location groups in the Map widget.
 

A Location Group will not plot if the GROUP_CODE contains a carriage return (extra blank space) at the end of the facility group. It will also not plot if it contains non-ASCII characters.

 

Rename Facility Layer – Allows the user to rename the facility locations layer in the Layer List. This option is only visible if Show Facility Layer is checked.

Custom Info Template – This option allows the user to define a custom Info Template (popup when clicking a facility location). HTML is acceptable with inline CSS. JavaScript is not supported. A list of available fields shows on the right-hand side. It is possible to include location information (and latitude, longitude, etc.) by referencing the location that has been clicked as follows: {[field name]}. See the following example using {code}, {latitude}, and {longitude}.

Ent-Map_Widget_Popup_Example

This example will display the SYS_LOC_CODE as the title and the latitude and longitude will appear below in the content of the Tooltip. Note that the values for these fields are based on DT_COORDINATE data for the locations, and may not have values for all facilities or locations.

Ent-Map_Widget_Popup_Example2