@maplibre/maplibre-gl-directions - v0.10.1
    Preparing search index...

    Class BearingsControl

    Creates an instance of BearingsControl that could be added to the map using the https://maplibre.org/maplibre-gl-js-docs/api/map/#map#addcontrol|addControl method.

    import MapLibreGlDirections, { BearingsControl } from "@maplibre/maplibre-gl-directions";
    map.addControl(new BearingsControl(new MapLibreGlDirections(map)));

    Implements

    • IControl
    Index