|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <map.h>
Data Fields | |
| mln_screen_point | anchor |
Camera fields used for snapshots and camera commands.
| 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.