Module

MapOptions

Events

Name Payload Type Description
toggleAllLayers Number The user has click Show All/None buttons

Methods

# hasLeafletLayerGroupWithName()

To Do:
  • Refactor: Improve communication with LeafletMap (Remove $parent)

View Source components/location/MapOptions/MapOptions.vue, line 670

# toggleLayer()

Toggle a layer group in LeafletMap component

To Do:
  • Refactor: Improve communication with LeafletMap

View Source components/location/MapOptions/MapOptions.vue, line 664

# toggleLayers()

Used when user toggles all map layers at once

View Source components/location/MapOptions/MapOptions.vue, line 620

# toggleSensorsMarkers()

Toggles flag "showMarkers" for all sensor configurations Used when user toggles all map layers at once

View Source components/location/MapOptions/MapOptions.vue, line 601

# updateSensorConfig()

Toggles flag "showMarkers" for a single sensor configuration Used when user toggles a single sensor layer

View Source components/location/MapOptions/MapOptions.vue, line 593

# updateTripHistoryPolylinesType()

Based on "tripHistoryPolylines", the polyline will be normal (blue), speed (colored based on speed) or hidden.

View Source components/location/MapOptions/MapOptions.vue, line 577