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

    Interface MapOptions

    Options used when creating a map.

    See mln_map_options in the C API reference.

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

    Map-originated event types this map queues, as a bitwise OR of mln_runtime_event_mask values.

    fastPforEnabled?: boolean

    Decodes MapLibre Tile (MLT) tiles whose integer streams use FastPFOR encodings. Defaults to false.

    initialExtent?: LogicalExtent

    Initial logical extent. Width and height must be nonzero, and scale_factor must be finite and positive. scale_factor is fixed for the map's lifetime.

    mapMode?: MapMode

    One of mln_map_mode. Defaults to MLN_MAP_MODE_CONTINUOUS.