Module

location-service

Methods

# static createCircuitColorsManager()

Will generate different colors for trip history polylines or circuit polylines (Location - History - Vehicle/Driver/Circuit)

View Source services/location-service.js, line 44

# static setSubMenuViewProgramatically()

Uses store.state.location_module.subMenuView to set SubMenu (also know as DetailsView/FenĂȘtre d'information) view from anywhere in the Vue tree

View Source services/location-service.js, line 11

# inner getUnusedColorAsString(identifier)

If every color is in use, it will start all over again

Parameters:
Name Type Description
identifier Number

[Optional] Associate a color with an unique identifier (i.g vehicle id)

View Source services/location-service.js, line 88