GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Activates GPS mode on a given DOM wrapper. Usable from the panel (wrapper resolved via container.closest) as well as from the toolbar (virtual wrapper resolved via getElementById).

      Parameters

      • map: IMapAdapter

        MapLibre map instance

      • wrapper: HTMLElement

        The [data-gl-filter-id="proximity"] element carrying the data-proximity-* attributes

      • radiusKm: number

        Radius in kilometers

      • Optionaloptions: GPSModeOptions

        Optional callbacks (onPointPlaced)

      Returns void