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

#include <map.h>

Data Fields

uint32_t size
mln_camera_fit_option_fields fields
mln_edge_insets padding
double bearing
double pitch

Detailed Description

Options for finding the camera that fits an area.

Field Documentation

◆ bearing

double mln_camera_fit_options::bearing

The rotation from north, in degrees.

◆ fields

mln_camera_fit_option_fields mln_camera_fit_options::fields

◆ padding

mln_edge_insets mln_camera_fit_options::padding

Space to leave between the area and each edge of the map. The left and right insets must add up to less than the map's width, and the top and bottom to less than its height.

◆ pitch

double mln_camera_fit_options::pitch

The tilt toward the horizon, in degrees.

◆ size

uint32_t mln_camera_fit_options::size

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