setProjectionMode method
- ProjectionModeOptions options
Sets whether the map draws in perspective or axonometric projection, and how much it skews the view.
Settings that options doesn't set keep their current values.
See mln_map_set_projection_mode in the
C API reference.
Implementation
Future<CommandCompletion> setProjectionMode(ProjectionModeOptions options) =>
_command(
(arena, completion) => raw.mln_map_set_projection_mode(
_handle.raw,
_writeProjectionModeOptions(options, arena),
completion,
nativeDiagnostic,
),
);