Skip to main content

Function: addLapSelector()

function addLapSelector(
_map: unknown,
container: HTMLElement,
mapDrawLaps: MapDrawLaps,
runtime?: MapLapSelectorRuntime
): void;

Defined in: utils/maps/controls/mapLapSelector.ts:78

Adds lap selector control to map

Parameters​

_map​

unknown

Leaflet map instance. Reserved for future map-specific behavior.

container​

HTMLElement

Container element for the control.

mapDrawLaps​

MapDrawLaps

Function to draw laps on map.

runtime?​

MapLapSelectorRuntime = ...

Returns​

void