@maplibre/native-ffi
    Preparing search index...

    Interface MapTileOptions

    How the map picks the tiles to load.

    The lod_ members lower the level of detail away from the camera, so the map loads fewer tiles when the pitch is high.

    See mln_map_tile_options in the C API reference.

    interface MapTileOptions {
        lodMinRadius?: number;
        lodMode?: TileLodMode;
        lodPitchThreshold?: number;
        lodScale?: number;
        lodZoomShift?: number;
        prefetchZoomDelta?: number;
    }
    Index
    lodMinRadius?: number

    The radius around the view point, in tiles, that keeps full detail.

    lodMode?: TileLodMode

    TileLodMode.distance ignores lod_min_radius.

    lodPitchThreshold?: number

    The pitch, in degrees, above which the map lowers the detail.

    lodScale?: number

    Scales the distance to the view point. Above 1 lowers the detail.

    lodZoomShift?: number

    Zoom levels to add for picking the detail. Below 0 loads fewer tiles.

    prefetchZoomDelta?: number

    How many zoom levels lower the map also loads tiles for, so it can show a coarse map while the current tiles load. 0 loads only the current tiles.