The map state

interface LeafletControllerState {
    canGeolocate: boolean;
    groups: Record<string, ControllerGroup>;
    isReady: boolean;
    markers: Record<string, MarkerController>;
    polygons: Record<string, PolygonController>;
    polylines: Record<string, PolylineController>;
    userPosition: null | LocationEvent;
    zoom: number;
}

Properties

canGeolocate: boolean

Can the controller use the user geolocation features

groups: Record<string, ControllerGroup>

The ControllerGroup groups present on the map

isReady: boolean

The map ready state

markers: Record<string, MarkerController>

The MarkerController present on the map

polygons: Record<string, PolygonController>

The PolygonController present on the map

polylines: Record<string, PolylineController>

The PolylineController present on the map

userPosition: null | LocationEvent

The current user position

zoom: number

The current zoom level

Generated using TypeDoc