GeoLeaf Core API - v3.0.0
    Preparing search index...

    Minimal interface for the MapLibre map adapter (IMapAdapter). Used to type the adapter variable in _doLoadSingleLayerMapLibre.

    interface MapAdapterLike {
        addGeoJSONLayer(
            layerId: string,
            data: unknown,
            options: Record<string, unknown>,
        ): void;
        getNativeMap(): unknown;
        getLayerRegistry?(): { getSubLayerIds(layerId: string): string[] } | null;
    }
    Index

    Methods

    • Parameters

      • layerId: string
      • data: unknown
      • options: Record<string, unknown>

      Returns void