6#ifndef MAPLIBRE_NATIVE_C_MAP_H
7#define MAPLIBRE_NATIVE_C_MAP_H
53typedef enum MLN_BINDING(
82typedef enum MLN_BINDING(
93typedef enum MLN_BINDING(
145typedef enum MLN_BINDING(
227 MLN_BINDING(
"mask=fields;bit=MLN_MAP_OPTION_EVENT_MASK");
233 MLN_BINDING(
"mask=fields;bit=MLN_MAP_OPTION_TILE_CACHE_ENABLED");
263 MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_OPTION_CENTER_ALTITUDE");
266 MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_OPTION_PADDING");
272 MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_OPTION_ANCHOR");
273 double zoom MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_OPTION_ZOOM");
275 double bearing MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_OPTION_BEARING");
277 double pitch MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_OPTION_PITCH");
279 double roll MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_OPTION_ROLL");
313 options.
size =
sizeof(options);
434 "kind=callback_registration;release=release_user_data"
441 MLN_BINDING(
"mask=fields;bit=MLN_ANIMATION_OPTION_DURATION");
446 double velocity MLN_BINDING(
"mask=fields;bit=MLN_ANIMATION_OPTION_VELOCITY");
448 double min_zoom MLN_BINDING(
"mask=fields;bit=MLN_ANIMATION_OPTION_MIN_ZOOM");
450 MLN_BINDING(
"mask=fields;bit=MLN_ANIMATION_OPTION_EASING");
456 MLN_BINDING(
"mask=fields;bit=MLN_ANIMATION_OPTION_TRANSITION_ID");
543 MLN_BINDING(
"mask=fields;bit=MLN_MOMENTUM_DECAY_MODEL");
547 MLN_BINDING(
"mask=fields;bit=MLN_MOMENTUM_DECAY_HALF_LIFE_MS");
550 MLN_BINDING(
"mask=fields;bit=MLN_MOMENTUM_DECAY_STOP_SPEED");
552 double distance MLN_BINDING(
"mask=fields;bit=MLN_MOMENTUM_DECAY_DISTANCE");
555 MLN_BINDING(
"mask=fields;bit=MLN_MOMENTUM_DECAY_DURATION_MS");
564 MLN_BINDING(
"mask=fields;bit=MLN_MOMENTUM_DECAY_EASING");
566 double min_speed MLN_BINDING(
"mask=fields;bit=MLN_MOMENTUM_DECAY_MIN_SPEED");
568 double max_speed MLN_BINDING(
"mask=fields;bit=MLN_MOMENTUM_DECAY_MAX_SPEED");
575 MLN_BINDING(
"mask=fields;bit=MLN_MOMENTUM_DECAY_MAX_DISTANCE");
594 MLN_BINDING(
"mask=fields;bit=MLN_PAN_MOMENTUM_VELOCITY");
621 double spacing MLN_BINDING(
"mask=fields;bit=MLN_MOMENTUM_SNAP_SPACING");
623 double offset MLN_BINDING(
"mask=fields;bit=MLN_MOMENTUM_SNAP_OFFSET");
625 double tolerance MLN_BINDING(
"mask=fields;bit=MLN_MOMENTUM_SNAP_TOLERANCE");
628 MLN_BINDING(
"mask=fields;bit=MLN_MOMENTUM_SNAP_DURATION_MS");
632typedef enum MLN_BINDING(
653 double velocity MLN_BINDING(
"mask=fields;bit=MLN_ANCHORED_MOMENTUM_VELOCITY");
659 MLN_BINDING(
"mask=fields;bit=MLN_ANCHORED_MOMENTUM_ANCHOR");
666 MLN_BINDING(
"mask=fields;bit=MLN_ANCHORED_MOMENTUM_SNAP");
711 MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_DELTA_OFFSET");
713 double scale MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_DELTA_SCALE");
715 double bearing MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_DELTA_BEARING");
717 double pitch MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_DELTA_PITCH");
724 MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_DELTA_ANCHOR");
730 MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_DELTA_MOMENTUM");
761 MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_FIT_OPTION_PADDING");
763 double bearing MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_FIT_OPTION_BEARING");
765 double pitch MLN_BINDING(
"mask=fields;bit=MLN_CAMERA_FIT_OPTION_PITCH");
806 MLN_BINDING(
"mask=fields;bit=MLN_FREE_CAMERA_OPTION_POSITION");
812 MLN_BINDING(
"mask=fields;bit=MLN_FREE_CAMERA_OPTION_ORIENTATION");
836 MLN_BINDING(
"variant=MLN_FEATURE_ID_TYPE_STRING");
837 uint64_t
uint_value MLN_BINDING(
"variant=MLN_FEATURE_ID_TYPE_UINT");
838 int64_t
int_value MLN_BINDING(
"variant=MLN_FEATURE_ID_TYPE_INT");
856typedef enum MLN_BINDING(
878 MLN_BINDING(
"mask=fields;bit=MLN_FEATURE_STATE_SELECTOR_FEATURE_ID");
898 MLN_BINDING(
"mask=fields;bit=MLN_BOUND_OPTION_BOUNDS");
899 double min_zoom MLN_BINDING(
"mask=fields;bit=MLN_BOUND_OPTION_MIN_ZOOM");
900 double max_zoom MLN_BINDING(
"mask=fields;bit=MLN_BOUND_OPTION_MAX_ZOOM");
902 double min_pitch MLN_BINDING(
"mask=fields;bit=MLN_BOUND_OPTION_MIN_PITCH");
904 double max_pitch MLN_BINDING(
"mask=fields;bit=MLN_BOUND_OPTION_MAX_PITCH");
963 MLN_BINDING(
"variant=MLN_OFFLINE_REGION_DEFINITION_TILE_PYRAMID");
965 MLN_BINDING(
"variant=MLN_OFFLINE_REGION_DEFINITION_GEOMETRY");
979 const uint8_t*
metadata MLN_BINDING(
"length=metadata_size;encoding=bytes");
990MLN_BINDING(
"execution=operation;result=mln_offline_region_info")
993 const uint8_t* metadata MLN_BINDING(
"length=metadata_size;encoding=bytes"),
1003MLN_BINDING(
"execution=query;result=mln_offline_region_info;nullable=true")
1010MLN_BINDING(
"execution=query;result=mln_offline_region_info;shape=array")
1032MLN_BINDING(
"execution=operation;result=mln_offline_region_info;shape=array")
1044MLN_BINDING(
"execution=operation;result=mln_offline_region_info")
1047 const uint8_t* metadata MLN_BINDING(
"length=metadata_size;encoding=bytes"),
1063MLN_BINDING(
"execution=query;result=mln_offline_region_status")
1080MLN_BINDING(
"execution=operation")
1096MLN_BINDING(
"execution=operation")
1116MLN_BINDING(
"execution=operation")
1128MLN_BINDING(
"execution=operation")
1146 MLN_BINDING(
"mask=fields;bit=MLN_PROJECTION_MODE_OPTION_AXONOMETRIC");
1148 MLN_BINDING(
"mask=fields;bit=MLN_PROJECTION_MODE_OPTION_X_SKEW");
1150 MLN_BINDING(
"mask=fields;bit=MLN_PROJECTION_MODE_OPTION_Y_SKEW");
1169 MLN_BINDING(
"mask=fields;bit=MLN_MAP_VIEWPORT_OPTION_NORTH_ORIENTATION");
1171 MLN_BINDING(
"mask=fields;bit=MLN_MAP_VIEWPORT_OPTION_CONSTRAIN_MODE");
1173 MLN_BINDING(
"mask=fields;bit=MLN_MAP_VIEWPORT_OPTION_VIEWPORT_MODE");
1175 MLN_BINDING(
"mask=fields;bit=MLN_MAP_VIEWPORT_OPTION_FRUSTUM_OFFSET");
1213 MLN_BINDING(
"mask=fields;bit=MLN_MAP_TILE_OPTION_PREFETCH_ZOOM_DELTA");
1216 MLN_BINDING(
"mask=fields;bit=MLN_MAP_TILE_OPTION_LOD_MIN_RADIUS");
1218 double lod_scale MLN_BINDING(
"mask=fields;bit=MLN_MAP_TILE_OPTION_LOD_SCALE");
1221 MLN_BINDING(
"mask=fields;bit=MLN_MAP_TILE_OPTION_LOD_PITCH_THRESHOLD");
1224 MLN_BINDING(
"mask=fields;bit=MLN_MAP_TILE_OPTION_LOD_ZOOM_SHIFT");
1227 MLN_BINDING(
"mask=fields;bit=MLN_MAP_TILE_OPTION_LOD_MODE");
1281MLN_BINDING(
"execution=lifecycle")
1284 mln_map* out_map MLN_BINDING(
"direction=out"),
1298MLN_BINDING(
"execution=snapshot")
1317MLN_BINDING(
"execution=command")
1324MLN_BINDING(
"execution=command")
1335MLN_BINDING(
"execution=command")
1341MLN_BINDING(
"execution=command")
1352MLN_BINDING(
"execution=command")
1364MLN_BINDING(
"execution=query;result=mln_buffer_view;encoding=json")
1371MLN_BINDING(
"execution=command")
1388MLN_BINDING(
"execution=operation")
1398MLN_BINDING(
"execution=lifecycle")
1430MLN_BINDING(
"execution=command")
1447MLN_BINDING(
"execution=command")
1458MLN_BINDING(
"execution=query;result=mln_buffer_view;encoding=json")
1468MLN_BINDING(
"execution=query;result=mln_buffer_view")
1474MLN_BINDING(
"execution=command")
uint64_t mln_delivery_queue
Definition base.h:169
uint64_t mln_map
Definition base.h:112
void(*) mln_user_data_release(void *user_data)
Definition base.h:191
uint64_t mln_runtime
Definition base.h:107
mln_status
Definition base.h:41
uint32_t mln_projection_mode_option_fields
Definition map.h:102
mln_map_mode
Definition map.h:179
@ MLN_MAP_MODE_STATIC
Definition map.h:183
@ MLN_MAP_MODE_TILE
Definition map.h:185
@ MLN_MAP_MODE_CONTINUOUS
Definition map.h:181
mln_status mln_runtime_set_offline_region_observed(mln_runtime runtime, mln_offline_region_id region_id, mln_runtime_event_flags events, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_status mln_map_end_command_group(mln_map map, const mln_completion *completion, mln_diagnostic *out_diagnostic)
uint32_t mln_momentum_snap_fields
Definition map.h:607
mln_status mln_runtime_get_offline_region(mln_runtime runtime, mln_offline_region_id region_id, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_status mln_runtime_update_offline_region_metadata(mln_runtime runtime, mln_offline_region_id region_id, const uint8_t *metadata, size_t metadata_size, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_map_debug_flag
Definition map.h:105
@ MLN_MAP_DEBUG_TILE_BORDERS
Definition map.h:106
@ MLN_MAP_DEBUG_STENCIL_CLIP
Definition map.h:111
@ MLN_MAP_DEBUG_OVERDRAW
Definition map.h:110
@ MLN_MAP_DEBUG_DEPTH_BUFFER
Definition map.h:112
@ MLN_MAP_DEBUG_COLLISION
Definition map.h:109
@ MLN_MAP_DEBUG_TIMESTAMPS
Definition map.h:108
@ MLN_MAP_DEBUG_PARSE_STATUS
Definition map.h:107
mln_status mln_runtime_delete_offline_region(mln_runtime runtime, mln_offline_region_id region_id, const mln_completion *completion, mln_diagnostic *out_diagnostic)
uint32_t mln_map_tile_option_fields
Definition map.h:176
uint32_t mln_camera_fit_option_fields
Definition map.h:62
uint32_t mln_momentum_decay_fields
Definition map.h:527
mln_map_option_field
Definition map.h:202
@ MLN_MAP_OPTION_TILE_CACHE_ENABLED
Definition map.h:204
@ MLN_MAP_OPTION_EVENT_MASK
Definition map.h:203
mln_feature_state_selector_field
Definition map.h:858
@ MLN_FEATURE_STATE_SELECTOR_FEATURE_ID
Definition map.h:859
mln_momentum_decay_field
Definition map.h:514
@ MLN_MOMENTUM_DECAY_MODEL
Definition map.h:515
@ MLN_MOMENTUM_DECAY_EASING
Definition map.h:520
@ MLN_MOMENTUM_DECAY_DURATION_MS
Definition map.h:519
@ MLN_MOMENTUM_DECAY_STOP_SPEED
Definition map.h:517
@ MLN_MOMENTUM_DECAY_MAX_DISTANCE
Definition map.h:523
@ MLN_MOMENTUM_DECAY_MIN_SPEED
Definition map.h:521
@ MLN_MOMENTUM_DECAY_DISTANCE
Definition map.h:518
@ MLN_MOMENTUM_DECAY_HALF_LIFE_MS
Definition map.h:516
@ MLN_MOMENTUM_DECAY_MAX_SPEED
Definition map.h:522
mln_status mln_map_request_still_image(mln_map map, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_status mln_map_remove_feature_state(mln_map map, const mln_feature_state_selector *selector, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_camera_option_field
Definition map.h:25
@ MLN_CAMERA_OPTION_PADDING
Definition map.h:31
@ MLN_CAMERA_OPTION_ZOOM
Definition map.h:27
@ MLN_CAMERA_OPTION_ANCHOR
Definition map.h:32
@ MLN_CAMERA_OPTION_ROLL
Definition map.h:33
@ MLN_CAMERA_OPTION_PITCH
Definition map.h:29
@ MLN_CAMERA_OPTION_FOV
Definition map.h:34
@ MLN_CAMERA_OPTION_BEARING
Definition map.h:28
@ MLN_CAMERA_OPTION_CENTER
Definition map.h:26
@ MLN_CAMERA_OPTION_CENTER_ALTITUDE
Definition map.h:30
mln_viewport_mode
Definition map.h:138
@ MLN_VIEWPORT_MODE_FLIPPED_Y
Definition map.h:141
@ MLN_VIEWPORT_MODE_DEFAULT
Definition map.h:139
mln_feature_id_type
Definition map.h:826
@ MLN_FEATURE_ID_TYPE_DOUBLE
Definition map.h:830
@ MLN_FEATURE_ID_TYPE_INT
Definition map.h:829
@ MLN_FEATURE_ID_TYPE_STRING
Definition map.h:827
@ MLN_FEATURE_ID_TYPE_UINT
Definition map.h:828
mln_status mln_map_set_event_mask(mln_map map, mln_runtime_event_flags mask, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_status mln_map_request_repaint(mln_map map, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_pan_momentum_field
Definition map.h:579
@ MLN_PAN_MOMENTUM_VELOCITY
Definition map.h:580
void(*) mln_camera_transition_end_callback(void *user_data, const mln_camera_transition_end *end)
Definition map.h:418
mln_status mln_map_release(mln_map map, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_camera_fit_option_field
Definition map.h:55
@ MLN_CAMERA_FIT_OPTION_BEARING
Definition map.h:57
@ MLN_CAMERA_FIT_OPTION_PADDING
Definition map.h:56
@ MLN_CAMERA_FIT_OPTION_PITCH
Definition map.h:58
mln_status mln_map_begin_command_group(mln_map map, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_status mln_runtime_invalidate_offline_region(mln_runtime runtime, mln_offline_region_id region_id, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_tile_lod_mode
Definition map.h:158
@ MLN_TILE_LOD_MODE_DISTANCE
Definition map.h:162
@ MLN_TILE_LOD_MODE_DEFAULT
Definition map.h:160
mln_anchored_momentum_field
Definition map.h:634
@ MLN_ANCHORED_MOMENTUM_ANCHOR
Definition map.h:636
@ MLN_ANCHORED_MOMENTUM_SNAP
Definition map.h:637
@ MLN_ANCHORED_MOMENTUM_VELOCITY
Definition map.h:635
mln_status mln_map_resize(mln_map map, mln_logical_size logical_size, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_camera_update_mode
Definition map.h:461
@ MLN_CAMERA_UPDATE_MODE_JUMP
Definition map.h:463
@ MLN_CAMERA_UPDATE_MODE_FLY
Definition map.h:467
@ MLN_CAMERA_UPDATE_MODE_EASE
Definition map.h:465
mln_status mln_map_set_style_json(mln_map map, mln_buffer_view json, const mln_completion *completion, mln_diagnostic *out_diagnostic)
uint32_t mln_pan_momentum_fields
Definition map.h:584
mln_status mln_map_get_feature_state(mln_map map, const mln_feature_state_selector *selector, const mln_completion *completion, mln_diagnostic *out_diagnostic)
uint32_t mln_map_viewport_option_fields
Definition map.h:155
mln_status mln_runtime_set_offline_region_download_state(mln_runtime runtime, mln_offline_region_id region_id, mln_offline_region_download_state state, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_camera_transition_outcome
Definition map.h:354
@ MLN_CAMERA_TRANSITION_OUTCOME_CLOSED
Definition map.h:367
@ MLN_CAMERA_TRANSITION_OUTCOME_REPLACED
Definition map.h:377
@ MLN_CAMERA_TRANSITION_OUTCOME_CANCELLED
Definition map.h:365
@ MLN_CAMERA_TRANSITION_OUTCOME_COMPLETED
Definition map.h:356
mln_status mln_map_get_snapshot(mln_map map, mln_map_snapshot *out_snapshot, mln_diagnostic *out_diagnostic)
mln_status mln_runtime_merge_offline_regions(mln_runtime runtime, mln_buffer_view side_database_path, const mln_completion *completion, mln_diagnostic *out_diagnostic)
uint32_t mln_anchored_momentum_fields
Definition map.h:641
uint32_t mln_map_option_fields
Definition map.h:208
mln_gesture_phase
Definition map.h:476
@ MLN_GESTURE_PHASE_NONE
Definition map.h:478
@ MLN_GESTURE_PHASE_END
Definition map.h:489
@ MLN_GESTURE_PHASE_UPDATE
Definition map.h:488
@ MLN_GESTURE_PHASE_CANCEL
Definition map.h:494
@ MLN_GESTURE_PHASE_BEGIN
Definition map.h:483
mln_bound_option_field
Definition map.h:65
@ MLN_BOUND_OPTION_UNBOUNDED
Definition map.h:75
@ MLN_BOUND_OPTION_BOUNDS
Definition map.h:66
@ MLN_BOUND_OPTION_MAX_ZOOM
Definition map.h:68
@ MLN_BOUND_OPTION_MIN_ZOOM
Definition map.h:67
@ MLN_BOUND_OPTION_MIN_PITCH
Definition map.h:69
@ MLN_BOUND_OPTION_MAX_PITCH
Definition map.h:70
mln_status mln_map_get_loaded_style_json(mln_map map, const mln_completion *completion, mln_diagnostic *out_diagnostic)
uint32_t mln_animation_option_fields
Definition map.h:50
uint32_t mln_camera_option_fields
Definition map.h:38
mln_map_viewport_option_field
Definition map.h:147
@ MLN_MAP_VIEWPORT_OPTION_FRUSTUM_OFFSET
Definition map.h:151
@ MLN_MAP_VIEWPORT_OPTION_CONSTRAIN_MODE
Definition map.h:149
@ MLN_MAP_VIEWPORT_OPTION_VIEWPORT_MODE
Definition map.h:150
@ MLN_MAP_VIEWPORT_OPTION_NORTH_ORIENTATION
Definition map.h:148
mln_animation_option_field
Definition map.h:41
@ MLN_ANIMATION_OPTION_MIN_ZOOM
Definition map.h:44
@ MLN_ANIMATION_OPTION_DURATION
Definition map.h:42
@ MLN_ANIMATION_OPTION_TRANSITION_ID
Definition map.h:46
@ MLN_ANIMATION_OPTION_VELOCITY
Definition map.h:43
@ MLN_ANIMATION_OPTION_EASING
Definition map.h:45
mln_constrain_mode
Definition map.h:127
@ MLN_CONSTRAIN_MODE_SCREEN
Definition map.h:134
@ MLN_CONSTRAIN_MODE_HEIGHT_ONLY
Definition map.h:130
@ MLN_CONSTRAIN_MODE_NONE
Definition map.h:128
@ MLN_CONSTRAIN_MODE_WIDTH_AND_HEIGHT
Definition map.h:132
mln_map_tile_option_field
Definition map.h:166
@ MLN_MAP_TILE_OPTION_LOD_PITCH_THRESHOLD
Definition map.h:170
@ MLN_MAP_TILE_OPTION_LOD_SCALE
Definition map.h:169
@ MLN_MAP_TILE_OPTION_LOD_ZOOM_SHIFT
Definition map.h:171
@ MLN_MAP_TILE_OPTION_LOD_MIN_RADIUS
Definition map.h:168
@ MLN_MAP_TILE_OPTION_LOD_MODE
Definition map.h:172
@ MLN_MAP_TILE_OPTION_PREFETCH_ZOOM_DELTA
Definition map.h:167
mln_status mln_map_set_feature_state(mln_map map, const mln_feature_state_selector *selector, mln_buffer_view state, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_status mln_map_dispose(mln_map map, mln_diagnostic *out_diagnostic)
mln_status mln_runtime_create_offline_region(mln_runtime runtime, const mln_offline_region_definition *definition, const uint8_t *metadata, size_t metadata_size, const mln_completion *completion, mln_diagnostic *out_diagnostic)
uint32_t mln_map_debug_flags
Definition map.h:116
mln_status mln_runtime_create_map(mln_runtime runtime, const mln_map_options *options, mln_map *out_map, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_status mln_runtime_list_offline_regions(mln_runtime runtime, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_projection_mode_option_field
Definition map.h:95
@ MLN_PROJECTION_MODE_OPTION_X_SKEW
Definition map.h:97
@ MLN_PROJECTION_MODE_OPTION_Y_SKEW
Definition map.h:98
@ MLN_PROJECTION_MODE_OPTION_AXONOMETRIC
Definition map.h:96
mln_status mln_map_set_style_url(mln_map map, mln_buffer_view url, const mln_completion *completion, mln_diagnostic *out_diagnostic)
uint32_t mln_camera_delta_fields
Definition map.h:703
mln_north_orientation
Definition map.h:119
@ MLN_NORTH_ORIENTATION_DOWN
Definition map.h:122
@ MLN_NORTH_ORIENTATION_UP
Definition map.h:120
@ MLN_NORTH_ORIENTATION_RIGHT
Definition map.h:121
@ MLN_NORTH_ORIENTATION_LEFT
Definition map.h:123
mln_camera_delta_field
Definition map.h:693
@ MLN_CAMERA_DELTA_ANCHOR
Definition map.h:698
@ MLN_CAMERA_DELTA_OFFSET
Definition map.h:694
@ MLN_CAMERA_DELTA_SCALE
Definition map.h:695
@ MLN_CAMERA_DELTA_MOMENTUM
Definition map.h:699
@ MLN_CAMERA_DELTA_PITCH
Definition map.h:697
@ MLN_CAMERA_DELTA_BEARING
Definition map.h:696
mln_status mln_map_get_style_url(mln_map map, const mln_completion *completion, mln_diagnostic *out_diagnostic)
mln_momentum_decay_model
Definition map.h:498
@ MLN_MOMENTUM_DECAY_MODEL_FRICTION
Definition map.h:504
@ MLN_MOMENTUM_DECAY_MODEL_EASE
Definition map.h:510
mln_momentum_snap_field
Definition map.h:599
@ MLN_MOMENTUM_SNAP_TOLERANCE
Definition map.h:602
@ MLN_MOMENTUM_SNAP_OFFSET
Definition map.h:601
@ MLN_MOMENTUM_SNAP_SPACING
Definition map.h:600
@ MLN_MOMENTUM_SNAP_DURATION_MS
Definition map.h:603
uint32_t mln_bound_option_fields
Definition map.h:79
mln_status mln_runtime_get_offline_region_status(mln_runtime runtime, mln_offline_region_id region_id, const mln_completion *completion, mln_diagnostic *out_diagnostic)
uint32_t mln_feature_state_selector_fields
Definition map.h:863
uint32_t mln_free_camera_option_fields
Definition map.h:90
mln_free_camera_option_field
Definition map.h:84
@ MLN_FREE_CAMERA_OPTION_POSITION
Definition map.h:85
@ MLN_FREE_CAMERA_OPTION_ORIENTATION
Definition map.h:86
mln_offline_region_definition_type
Definition runtime.h:65
int64_t mln_offline_region_id
Definition runtime.h:62
mln_offline_region_download_state
Definition runtime.h:71
uint64_t mln_runtime_event_flags
Definition runtime.h:236
mln_momentum_snap snap
Definition map.h:666
mln_screen_point anchor
Definition map.h:659
double velocity
Definition map.h:653
mln_anchored_momentum_fields fields
Definition map.h:647
mln_momentum_decay decay
Definition map.h:660
mln_camera_transition_handler end_handler
Definition map.h:457
mln_animation_option_fields fields
Definition map.h:439
double duration_ms
Definition map.h:441
double velocity
Definition map.h:446
double min_zoom
Definition map.h:448
mln_unit_bezier easing
Definition map.h:450
uint64_t transition_id
Definition map.h:456
mln_lat_lng_bounds bounds
Definition map.h:898
double min_pitch
Definition map.h:902
double max_pitch
Definition map.h:904
double max_zoom
Definition map.h:900
mln_bound_option_fields fields
Definition map.h:895
uint32_t size
Definition map.h:894
double min_zoom
Definition map.h:899
double min_zoom
Definition map.h:920
double max_pitch
Definition map.h:925
double min_pitch
Definition map.h:923
mln_lat_lng_bounds bounds
Definition map.h:917
double max_zoom
Definition map.h:921
bool unbounded
Definition map.h:919
mln_screen_point anchor
Definition map.h:724
mln_screen_point offset
Definition map.h:711
mln_gesture_phase gesture_phase
Definition map.h:732
uint32_t size
Definition map.h:707
double bearing
Definition map.h:715
uint32_t reserved
Definition map.h:733
double scale
Definition map.h:713
mln_camera_delta_fields fields
Definition map.h:708
double pitch
Definition map.h:717
mln_animation_options animation
Definition map.h:731
mln_gesture_momentum momentum
Definition map.h:730
mln_edge_insets padding
Definition map.h:761
uint32_t size
Definition map.h:753
mln_camera_fit_option_fields fields
Definition map.h:754
double pitch
Definition map.h:765
double bearing
Definition map.h:763
mln_camera_fit_options fit
Definition map.h:777
mln_animation_options animation
Definition map.h:778
mln_camera_update_mode mode
Definition map.h:776
uint32_t size
Definition map.h:775
uint32_t size
Definition map.h:258
double roll
Definition map.h:279
double center_altitude
Definition map.h:263
double field_of_view
Definition map.h:281
double bearing
Definition map.h:275
mln_camera_option_fields fields
Definition map.h:259
mln_screen_point anchor
Definition map.h:272
mln_lat_lng center
Definition map.h:260
mln_edge_insets padding
Definition map.h:266
double zoom
Definition map.h:273
double pitch
Definition map.h:277
uint64_t generation
Definition map.h:1267
mln_camera camera
Definition map.h:1268
mln_camera_transition_outcome outcome
Definition map.h:398
uint32_t size
Definition map.h:397
uint64_t generation
Definition map.h:403
mln_camera_velocity velocity
Definition map.h:409
mln_user_data_release release_user_data
Definition map.h:431
mln_delivery_queue queue
Definition map.h:432
mln_camera_transition_end_callback callback
Definition map.h:429
void * user_data
Definition map.h:430
mln_animation_options animation
Definition map.h:746
uint32_t size
Definition map.h:743
mln_gesture_phase gesture_phase
Definition map.h:747
mln_camera_options camera
Definition map.h:745
uint32_t reserved
Definition map.h:748
mln_camera_update_mode mode
Definition map.h:744
double zoom
Definition map.h:388
double pitch
Definition map.h:392
mln_screen_point pan
Definition map.h:386
double bearing
Definition map.h:390
double field_of_view
Definition map.h:299
double bearing
Definition map.h:293
mln_lat_lng center
Definition map.h:286
double roll
Definition map.h:297
double zoom
Definition map.h:291
double center_altitude
Definition map.h:288
mln_edge_insets padding
Definition map.h:290
double pitch
Definition map.h:295
Definition completion.h:66
double left
Definition map.h:245
double top
Definition map.h:244
double bottom
Definition map.h:246
double right
Definition map.h:247
mln_feature_id_type type
Definition map.h:851
mln_feature_id_data data
Definition map.h:852
mln_buffer_view source_id
Definition map.h:869
uint32_t size
Definition map.h:867
mln_feature_state_selector_fields fields
Definition map.h:868
mln_feature_id feature_id
Definition map.h:878
mln_buffer_view state_key
Definition map.h:883
mln_buffer_view source_layer_id
Definition map.h:871
mln_quaternion orientation
Definition map.h:812
uint32_t size
Definition map.h:798
mln_free_camera_option_fields fields
Definition map.h:799
mln_vec3 position
Definition map.h:806
mln_vec3 position
Definition map.h:821
mln_quaternion orientation
Definition map.h:822
mln_anchored_momentum bearing
Definition map.h:688
mln_anchored_momentum zoom
Definition map.h:687
mln_anchored_momentum pitch
Definition map.h:689
mln_pan_momentum pan
Definition map.h:686
mln_lat_lng northeast
Definition map.h:889
mln_lat_lng southwest
Definition map.h:888
double longitude
Definition map.h:253
double latitude
Definition map.h:252
double scale_factor
Definition map.h:192
uint32_t height
Definition map.h:191
uint32_t width
Definition map.h:190
uint32_t height
Definition map.h:198
uint32_t width
Definition map.h:197
mln_map_option_fields fields
Definition map.h:213
mln_map_mode map_mode
Definition map.h:219
bool tile_cache_enabled
Definition map.h:233
bool fast_pfor_enabled
Definition map.h:224
mln_runtime_event_flags event_mask
Definition map.h:227
uint32_t size
Definition map.h:212
mln_logical_extent initial_extent
Definition map.h:218
mln_map_debug_flags debug_flags
Definition map.h:1248
uint32_t size
Definition map.h:1247
mln_map_view view
Definition map.h:1262
bool transition_in_progress
Definition map.h:1255
mln_free_camera free_camera
Definition map.h:1261
bool fully_loaded
Definition map.h:1252
mln_camera_bounds bounds
Definition map.h:1260
mln_map_tile_settings tile
Definition map.h:1259
bool rendering_stats_view_enabled
Definition map.h:1253
uint64_t latest_render_update_generation
Definition map.h:1258
bool gesture_in_progress
Definition map.h:1254
mln_runtime_event_flags event_mask
Definition map.h:1256
uint64_t generation
Definition map.h:1250
mln_tile_lod_mode lod_mode
Definition map.h:1227
mln_map_tile_option_fields fields
Definition map.h:1207
uint32_t size
Definition map.h:1206
uint32_t prefetch_zoom_delta
Definition map.h:1213
double lod_scale
Definition map.h:1218
double lod_min_radius
Definition map.h:1216
double lod_pitch_threshold
Definition map.h:1221
double lod_zoom_shift
Definition map.h:1224
double lod_pitch_threshold
Definition map.h:1240
double lod_scale
Definition map.h:1238
double lod_zoom_shift
Definition map.h:1241
uint32_t prefetch_zoom_delta
Definition map.h:1236
mln_tile_lod_mode lod_mode
Definition map.h:1242
double lod_min_radius
Definition map.h:1237
mln_camera camera
Definition map.h:1193
mln_map_viewport viewport
Definition map.h:1196
mln_logical_extent extent
Definition map.h:1194
mln_projection_mode projection_mode
Definition map.h:1195
uint32_t size
Definition map.h:1192
mln_north_orientation north_orientation
Definition map.h:1169
mln_edge_insets frustum_offset
Definition map.h:1175
uint32_t size
Definition map.h:1166
mln_viewport_mode viewport_mode
Definition map.h:1173
mln_constrain_mode constrain_mode
Definition map.h:1171
mln_map_viewport_option_fields fields
Definition map.h:1167
mln_viewport_mode viewport_mode
Definition map.h:1186
mln_constrain_mode constrain_mode
Definition map.h:1185
mln_edge_insets frustum_offset
Definition map.h:1187
mln_north_orientation north_orientation
Definition map.h:1184
double max_speed
Definition map.h:568
double distance
Definition map.h:552
double min_speed
Definition map.h:566
mln_unit_bezier easing
Definition map.h:564
double max_distance
Definition map.h:575
mln_momentum_decay_model model
Definition map.h:543
double stop_speed
Definition map.h:550
double duration_ms
Definition map.h:555
double half_life_ms
Definition map.h:547
mln_momentum_decay_fields fields
Definition map.h:541
double spacing
Definition map.h:621
mln_momentum_snap_fields fields
Definition map.h:619
double tolerance
Definition map.h:625
double duration_ms
Definition map.h:628
double offset
Definition map.h:623
mln_buffer_view geometry
Definition map.h:953
float pixel_ratio
Definition map.h:956
bool include_ideographs
Definition map.h:957
double max_zoom
Definition map.h:955
mln_buffer_view style_url
Definition map.h:952
double min_zoom
Definition map.h:954
mln_offline_region_definition_data data
Definition map.h:972
mln_offline_region_definition_type type
Definition map.h:971
uint32_t size
Definition map.h:970
mln_offline_region_definition definition
Definition map.h:978
size_t metadata_size
Definition map.h:980
mln_offline_region_id id
Definition map.h:977
const uint8_t * metadata
Definition map.h:979
double min_zoom
Definition map.h:936
mln_lat_lng_bounds bounds
Definition map.h:935
double max_zoom
Definition map.h:938
mln_buffer_view style_url
Definition map.h:934
float pixel_ratio
Definition map.h:940
bool include_ideographs
Definition map.h:942
mln_screen_point velocity
Definition map.h:594
mln_pan_momentum_fields fields
Definition map.h:588
mln_momentum_decay decay
Definition map.h:595
double northing
Definition map.h:1136
double easting
Definition map.h:1137
uint32_t size
Definition map.h:1142
mln_projection_mode_option_fields fields
Definition map.h:1143
double x_skew
Definition map.h:1148
bool axonometric
Definition map.h:1146
double y_skew
Definition map.h:1150
double x_skew
Definition map.h:1160
bool axonometric
Definition map.h:1159
double y_skew
Definition map.h:1161
double z
Definition map.h:792
double y
Definition map.h:791
double x
Definition map.h:790
double w
Definition map.h:793
double x
Definition map.h:238
double y
Definition map.h:239
double x1
Definition map.h:341
double x2
Definition map.h:343
double y2
Definition map.h:344
double y1
Definition map.h:342
double x
Definition map.h:783
double y
Definition map.h:784
double z
Definition map.h:785
int64_t int_value
Definition map.h:838
double double_value
Definition map.h:840
uint64_t uint_value
Definition map.h:837
mln_buffer_view string_value
Definition map.h:836
mln_offline_tile_pyramid_region_definition tile_pyramid
Definition map.h:963
mln_offline_geometry_region_definition geometry
Definition map.h:965