MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_camera_bounds Struct Reference

#include <map.h>

Data Fields

mln_lat_lng_bounds bounds
bool unbounded
double min_zoom
double max_zoom
double min_pitch
double max_pitch

Detailed Description

All the limits on a map's camera.

Its members mean the same as those of mln_bound_options.

Field Documentation

◆ bounds

mln_lat_lng_bounds mln_camera_bounds::bounds

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

◆ max_pitch

double mln_camera_bounds::max_pitch

The highest pitch, in degrees.

◆ max_zoom

double mln_camera_bounds::max_zoom

◆ min_pitch

double mln_camera_bounds::min_pitch

The lowest pitch, in degrees.

◆ min_zoom

double mln_camera_bounds::min_zoom

◆ unbounded

bool mln_camera_bounds::unbounded

Whether no area limits the camera's center.


The documentation for this struct was generated from the following file: