Struct

MaplibreNativeFfiCameraBounds

Description [src]

struct MaplibreNativeFfiCameraBounds {
  MaplibreNativeFfiLatLngBounds bounds;
  gboolean unbounded;
  gdouble min_zoom;
  gdouble max_zoom;
  gdouble min_pitch;
  gdouble max_pitch;
}

All the limits on a map’s camera.

Its members mean the same as those of MaplibreNativeFfiBoundOptions.

See mln_camera_bounds in the C API reference.

Structure members
bounds: MaplibreNativeFfiLatLngBounds

The area that the camera’s center stays within. When unbounded is true, it covers the whole world.

unbounded: gboolean

Whether no area limits the camera’s center.

min_zoom: gdouble

Min_zoom.

max_zoom: gdouble

Max_zoom.

min_pitch: gdouble

The lowest pitch, in degrees.

max_pitch: gdouble

The highest pitch, in degrees.

Instance methods