@geoblocks/ol-maplibre-layer
    Preparing search index...

    Type Alias MapLibreLayerTranslateZoomFunction

    MapLibreLayerTranslateZoomFunction: (zoom: number) => number

    Receives the zoom level from the OpenLayers view and can transform it for MapLibre in case the projection system used by OL isn't using a standard Mercator pyramid.

    This enables the MapLibreLayer to work in Mercator zooms even if OL is using a localized projection (such as LV95 for Switzerland)

    Type Declaration

      • (zoom: number): number
      • Parameters

        • zoom: number

        Returns number