Skip to main content

addLapSelector

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / utils/maps/controls/mapLapSelector / addLapSelector

Function: addLapSelector()

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