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
70 mln_map_projection* projection, mln_camera_options* out_camera
71) MLN_NOEXCEPT;
72
87 mln_map_projection* projection, const mln_camera_options* camera
88) MLN_NOEXCEPT;
89
108 mln_map_projection* projection, const mln_lat_lng* coordinates,
109 size_t coordinate_count, mln_edge_insets padding
110) MLN_NOEXCEPT;
111
131 mln_map_projection* projection, const mln_geometry* geometry,
132 mln_edge_insets padding
133) MLN_NOEXCEPT;
134
150 mln_map_projection* projection, mln_lat_lng coordinate,
151 mln_screen_point* out_point
152) MLN_NOEXCEPT;
153
169 mln_map_projection* projection, mln_screen_point point,
170 mln_lat_lng* out_coordinate
171) MLN_NOEXCEPT;
172
183 mln_lat_lng coordinate, mln_projected_meters* out_meters
184) MLN_NOEXCEPT;
185
196 mln_projected_meters meters, mln_lat_lng* out_coordinate
197) MLN_NOEXCEPT;
198
199#ifdef __cplusplus
200}
201#endif
202
203#endif // MAPLIBRE_NATIVE_C_PROJECTION_H
mln_status
Definition base.h:39
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:200
Definition map.h:192
Definition map.h:390
Definition map.h:316
Definition map.h:1026
Definition map.h:186