MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
projection.h
Go to the documentation of this file.
1
5
6#ifndef MAPLIBRE_NATIVE_C_PROJECTION_H
7#define MAPLIBRE_NATIVE_C_PROJECTION_H
8
9#include <stddef.h>
10
11#include "base.h"
12#include "map.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
38 mln_map* map, mln_map_projection** out_projection
39) MLN_NOEXCEPT;
40
51MLN_API mln_status
52mln_map_projection_destroy(mln_map_projection* projection) MLN_NOEXCEPT;
53
68 mln_map_projection* projection, mln_camera_options* out_camera
69) MLN_NOEXCEPT;
70
85 mln_map_projection* projection, const mln_camera_options* camera
86) MLN_NOEXCEPT;
87
106 mln_map_projection* projection, const mln_lat_lng* coordinates,
107 size_t coordinate_count, mln_edge_insets padding
108) MLN_NOEXCEPT;
109
129 mln_map_projection* projection, const mln_geometry* geometry,
130 mln_edge_insets padding
131) MLN_NOEXCEPT;
132
148 mln_map_projection* projection, mln_lat_lng coordinate,
149 mln_screen_point* out_point
150) MLN_NOEXCEPT;
151
167 mln_map_projection* projection, mln_screen_point point,
168 mln_lat_lng* out_coordinate
169) MLN_NOEXCEPT;
170
181 mln_lat_lng coordinate, mln_projected_meters* out_meters
182) MLN_NOEXCEPT;
183
194 mln_projected_meters meters, mln_lat_lng* out_coordinate
195) MLN_NOEXCEPT;
196
197#ifdef __cplusplus
198}
199#endif
200
201#endif // MAPLIBRE_NATIVE_C_PROJECTION_H
mln_status
Definition base.h:37
mln_status mln_lat_lng_for_projected_meters(mln_projected_meters meters, mln_lat_lng *out_coordinate)
mln_status mln_map_projection_destroy(mln_map_projection *projection)
mln_status mln_map_projection_lat_lng_for_pixel(mln_map_projection *projection, mln_screen_point point, mln_lat_lng *out_coordinate)
mln_status mln_map_projection_set_visible_coordinates(mln_map_projection *projection, const mln_lat_lng *coordinates, size_t coordinate_count, mln_edge_insets padding)
mln_status mln_projected_meters_for_lat_lng(mln_lat_lng coordinate, mln_projected_meters *out_meters)
mln_status mln_map_projection_create(mln_map *map, mln_map_projection **out_projection)
mln_status mln_map_projection_get_camera(mln_map_projection *projection, mln_camera_options *out_camera)
mln_status mln_map_projection_pixel_for_lat_lng(mln_map_projection *projection, mln_lat_lng coordinate, mln_screen_point *out_point)
mln_status mln_map_projection_set_visible_geometry(mln_map_projection *projection, const mln_geometry *geometry, mln_edge_insets padding)
mln_status mln_map_projection_set_camera(mln_map_projection *projection, const mln_camera_options *camera)
Definition map.h:166
Definition map.h:158
Definition map.h:312
Definition map.h:238
Definition map.h:947
Definition map.h:152