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

mln_screen_point anchor
 

Detailed Description

Camera fields used for snapshots and camera commands.

Field Documentation

◆ anchor

mln_screen_point mln_camera_options::anchor

Screen-space focal point for a camera command. This field is input-only.

MapLibre Native applies it to camera commands and leaves it out of every camera snapshot it reports, so MLN_CAMERA_OPTION_ANCHOR is set only by the caller. mln_map_get_camera(), mln_map_projection_get_camera(), and the mln_map_camera_for_* family leave it clear.


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