Workshop Configuration

The Map application can be used directly in Workshop using the Map Application Template widget. You can build a map directly in Workshop using the local configuration mode, or embed a previously created map from the Map application in Workshop modules using the Map Application Template widget.

Add a Map Application Template widget in Workshop

In a section of your choice in the Workshop module, select the + icon or + Add widget to open the widget menu, and search for the Map Application Template widget.

Adding the Map Application Template widget.

Add layers to the map

In the widget editor, select Add object layer to add a new layer to the map. Then, open the newly created layer and under Input Object Set create a new object set variable or reuse an existing one.

Once added, the new object layer will populate on the map.

Edit the map layer

Rename a layer

Edit a layer's name under the Label text box under the Input section.

Edit layer styling

To update the styling of an object layer, open the Style or Geometry section. Under the Style section, you can update the styles of any linked geometry under that object layer.

Under the Geometry section, a user can edit the styling for a specific geometry displayed on the map. Like in the map application, geometries are different ways of representing the layer's objects.

Geometries can be added by selecting Add geometry. Reorder geometries by dragging them from the left side of their labels, and delete them by selecting the trash icon when hovering over a geometry.

High scale rendering (beta) can also be enabled under the Geometry section.

Legend visibility

An object layer and its geometries are visible by default in the legend panel of the map. Under the Legend Visibility section of an object layer, you can toggle the visibility of the entire layer or the individual geometries.

Object selection

Under the Selected objects section of each layer, the layer's selected objects are made available as an object set variable. This variable is bidirectional and can either be used to update the selected objects of a particular layer on the map, or it can respond and adopt the selected objects that a user selects from the map.

Base layer picker

The base layer picker allows a user to edit the base map that the objects are displayed on.

Widget configuration

For the Map Application Template widget, the local configuration options are as follows:

  • Layers
    • Object layers: Manage object layers displayed in the map.
    • Base layer picker: Edit the displayed base layer in the map.
    • Show base layer picker: Let users choose other base layers through a button under the Legends & search panel.
  • Interaction
    • Drawn shape: Output a GeoJSON geometry collection of the shape being drawn by the user.
    • On drawn shape: Configure Workshop events to trigger when a shape is drawn in the map.
    • Enable geo-spatial object search: Allow users to search the Ontology using a drawn shape.
    • Enable splitting on antimeridian: Splits drawn shapes along the anti-meridian.
  • Time configuration
    • Enable timeline: Display the timeline panel on the bottom.
    • Selected time: Control the selected time, using a Workshop variable of type Timestamp or Date.
    • Time window: Control the time window, using two Workshop variables of type Timestamp or Date.
  • Interface
    • Legend: Display the legend panel on the left.
      • Collapse legend panel: Collapse the left panel.
    • Show toolbar: Display the toolbar.
    • Enable search around: Enable search arounds.
    • Enable advanced selection tools: Enable selection tools in the toolbar.
    • Show selection panel: Display currently selected objects on the right.
    • Viewport auto zoom: Centers the map on the content of the given object set.
    • Enable transition to full Map application: Allow users to open the Map application from the widget, using their current state.