Skip to main content

Maps

Introduction to Maps

A map creates a visual representation of a single data set, i.e., a table or a view. You can use the settings for overlays and data mapping to configure maps to suit your needs with, for example, routes, defined areas, wheather information or traffic information.

Adding a map

menu User Interface > Maps > tab Maps

or

menu User interface > Subjects > Components > tab Maps

  1. Select a table or variant.
  2. Add a Project and Project version.
  3. Select the Table or view to which you want to add a map.
note

The table or view needs a screen-type with a Maps component to show the map in your end-product.

  1. Define Linked columns to populate the map with entities:

    • Data mapping column: contains an image combo domain with elements. For every element, you can further specify the settings in the Data mappings tab.
    • Lat/long column: contains the location information for the entity.
    • Popup column: contains HTML data that will be displayed when hovering over the entity on the map.
  2. Specify the Initial settings:

    • Enter the initial Latitude and Longitude.
    • Set the Zoom level (number, check with your provider about the scale used).

Maps Maps settings

  1. Set more specifications in the tabs:

Base layer settings

The base layer is the layer shown in the maps component.

menu User Interface > Maps > tab Base layers

or

menu User interface > Subjects > Components > tab Base layers

  1. Enter a Base layer URI to retrieve the layer information.

    • You can only configure tile layers using x,y,z URLs. A tile layer is a set of tiles that reside on a server and are accessed by a direct URL request from the browser.
  2. Enter settings like minimum and maximum zoom levels.

  3. If necessary, use the Attribution field to store the attribution HTML snippet.

Base layer Base layer settings for maps

Overlay settings

Windows GUI Web GUI

An overlay can be shown on top of the base layer to add extra information, such as weather or traffic information.

menu User Interface > Maps > tab Overlays

or

menu User interface > Subjects > Components > tab Overlays

  1. Enter an Overlay URI.
  2. Enter settings like minimum and maximum zoom levels and the overlay's opacity.
  3. If necessary, use the Attribution field to store the attribution HTML snippet.

Overlay Overlay settings for maps

Example 2 An example of an overlay in a map

Data mappings

The overview displays all the domain elements of the data mapping column.

menu User Interface > Maps > tab Data mappings

or

menu User interface > Subjects > Components > tab Data mappings

  1. Specify the Geometric type of the data mapping.
  2. If the Geometric type is not a Marker, you can specify additional settings, like border and fill color.

Data mapping Data mapping settings for maps

Example 1 An example of data mapping: route planner