Struct

MaplibreNativeFfiMapViewport

Description [src]

struct MaplibreNativeFfiMapViewport {
  MaplibreNativeFfiNorthOrientation north_orientation;
  MaplibreNativeFfiConstrainMode constrain_mode;
  MaplibreNativeFfiViewportMode viewport_mode;
  MaplibreNativeFfiEdgeInsets frustum_offset;
}

A map’s whole viewport.

Its members mean the same as those of MaplibreNativeFfiMapViewportOptions.

See mln_map_viewport in the C API reference.

Structure members
north_orientation: MaplibreNativeFfiNorthOrientation

North_orientation.

constrain_mode: MaplibreNativeFfiConstrainMode

Constrain_mode.

viewport_mode: MaplibreNativeFfiViewportMode

Viewport_mode.

frustum_offset: MaplibreNativeFfiEdgeInsets

Frustum_offset.

Instance methods