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

    Interface MapView

    Everything that a projection depends on: the transform that a published snapshot or a rendered frame describes.

    See mln_map_view in the C API reference.

    interface MapView {
        camera?: CameraOptions;
        extent?: LogicalExtent;
        projectionMode?: ProjectionMode;
        viewport?: MapViewportOptions;
    }
    Index
    camera?: CameraOptions

    The camera. Its center is unwrapped: the longitude keeps the visible world copy and may fall outside -180 to 180. Every field except MLN_CAMERA_OPTION_ANCHOR is set.

    extent?: LogicalExtent

    Logical size and device-pixel scale. A snapshot carries the map's scale factor, and a frame carries the scale factor of the target that drew it.

    projectionMode?: ProjectionMode

    Axonometric mode and skew, with every field set.

    North orientation, constrain mode, viewport mode, and frustum offset, with every field set.