Map Element
This element is map font of Map Context. Only one map can be added on this context. We suggest to first enter longitude and latitude of map center. This element must be used with Map context.
Icon
HMI Representation

External parameters
Show/Hide all parameters
parameter | editable via "Parameter" tab | updatable via a mapping | description | unit | type |
---|---|---|---|---|---|
Longitude | ✔️ | ✔️ | Initialize map longitude on scenario opening | degree | Decimal number |
Latitude | ✔️ | ✔️ | Initialize map latitude on scenario opening | degree | Decimal number |
Map Style | ✔️ | ✔️ | Mapbox Map style. See Mapbox website for available style. (Ex: streets-v11) | - | Text |
Visibility | ✔️ | ✔️ | This parameter allows you to choose if you want the element to be visible or not on the scene during the execution of the scenario. If the item is part of a group, it can inherit the value of that group. | - | Enumeration (visible, hidden, inherit) |
X-axis position | ❌ | ❌ | Position of the element's upleft corner on the X-axis. | meter | Decimal number |
Y-axis position | ❌ | ❌ | Position of the element's upleft corner on the Y-axis. | meter | Decimal number |
Length | ❌ | ❌ | Length of the Map. | meter | Decimal number |
Width | ❌ | ❌ | Width of the Map. | meter | Decimal number |
Draw Polygon property | ❌ | ❌ | This parameter defines various properties of the polygon, such as, its points, its center, and its ID (It also applies to rectangles). | - | List of points, Polygon Center, Polygon type, Polygon Id |
Triggered behaviours
See Triggered behaviours and events page for more explanation: Triggered behaviours and events.
Show/Hide all triggered behaviours
Destroy
At the reception of the flow, the element is destroy.
No parameters for this triggered behaviour.
Add/Update Marker on map
Add marker on map or update it if it already exist.
Show/Hide all parameters
parameters | description | unit | type |
---|---|---|---|
Id | The marker id to add/update. | - | Text |
Longitude | The longitude of the marker. | degree | Decimal number |
Latitude | The latitude of the marker. | degree | Decimal number |
SVG Definition | The definition of the marker. Make sure your SVG is valid before entering a value in field. Choose a preset definition. | - | Text |
Name of the layer | The name of the layer. | - | Text |
Marker information | Information of the marker displayed in popup. | - | Text |
Clear marker
Clear specific marker if it already exists.
Show/Hide all parameters
parameters | description | unit | type |
---|---|---|---|
Id | The marker id to clear. | - | Text |
Add/Update Polyline on Map
Add Polyline on map or update it if it already exists.
Show/Hide all parameters
parameters | description | unit | type |
---|---|---|---|
Id | The polyline id to add/update. | - | Text |
Trajectory | Trajectory with list of coordinates (ex: [[lng,lat],[lng,lat],...]) | - | List of coordinates |
Color | The color of the polyline. You can use HEX,RGB.. color (ex: #000000 is black) | - | Text |
Name of the layer | The name of the layer. | - | Text |
Clear polyline
Clear specific polyline if it already exists.
Show/Hide all parameters
parameters | description | unit | type |
---|---|---|---|
Id | The polyline id to clear. | - | Text |