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

#include <map.h>

Data Fields

mln_lat_lng center
double center_altitude
mln_edge_insets padding
double zoom
double bearing
double pitch
double roll
double field_of_view

Detailed Description

A map's whole camera.

Field Documentation

◆ bearing

double mln_camera::bearing

The rotation from north, in degrees.

◆ center

mln_lat_lng mln_camera::center

◆ center_altitude

double mln_camera::center_altitude

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

◆ field_of_view

double mln_camera::field_of_view

The vertical field of view, in degrees.

◆ padding

mln_edge_insets mln_camera::padding

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

◆ pitch

double mln_camera::pitch

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

◆ roll

double mln_camera::roll

The roll, in degrees.

◆ zoom

double mln_camera::zoom

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