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

#include <map.h>

Data Fields

uint32_t size
mln_camera_option_fields fields
mln_lat_lng center
double center_altitude
mln_edge_insets padding
mln_screen_point anchor
double zoom
double bearing
double pitch
double roll
double field_of_view

Detailed Description

A camera, with only the members that fields selects.

Field Documentation

◆ anchor

mln_screen_point mln_camera_options::anchor

The screen point that a change to the zoom, bearing, or pitch keeps in place. A center overrides it.

◆ bearing

double mln_camera_options::bearing

The rotation from north, in degrees.

◆ center

mln_lat_lng mln_camera_options::center

◆ center_altitude

double mln_camera_options::center_altitude

The altitude of the center, in meters above sea level.

◆ field_of_view

double mln_camera_options::field_of_view

The vertical field of view, in degrees.

◆ fields

mln_camera_option_fields mln_camera_options::fields

◆ padding

mln_edge_insets mln_camera_options::padding

Insets from the map's edges. The camera centers within the rest.

◆ pitch

double mln_camera_options::pitch

The tilt toward the horizon, in degrees. 0 looks straight down.

◆ roll

double mln_camera_options::roll

The roll, in degrees.

◆ size

uint32_t mln_camera_options::size

◆ zoom

double mln_camera_options::zoom

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