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

    Interface MapOptions

    Options for RuntimeHandle.createMap().

    See mln_map_options in the C API reference.

    interface MapOptions {
        eventMask?: bigint;
        fastPforEnabled?: boolean;
        initialExtent: LogicalExtent;
        mapMode?: MapMode;
        tileCacheEnabled?: boolean;
    }
    Index
    eventMask?: bigint

    The events that the map reports. Without it, the map reports them all.

    fastPforEnabled?: boolean

    Whether the map decodes MapLibre Tiles (MLT) that use FastPFOR integer encoding. Without it, such tiles fail to load.

    initialExtent: LogicalExtent

    The map's first size, and its scale factor. The scale factor stays fixed for the map's life, and every render session of the map renders at it.

    mapMode?: MapMode
    tileCacheEnabled?: boolean

    Whether the map keeps tiles in memory after they leave the view, so they show again without loading. Without it, the map keeps them.