setStyleLightProperty method
Sets a property of the light of the map's style.
See mln_map_set_style_light_property in the
C API reference.
Errors:
Status.invalidStatewhile the style isn't loaded, asMapHandle.setStyleUrl()describes.
Implementation
Future<CommandCompletion> setStyleLightProperty(
String propertyName,
Object? value,
) => _command(
(arena, completion) => raw.mln_map_set_style_light_property(
_handle.raw,
nativeStringView(propertyName, arena).value,
_nativeJsonView(value, arena),
completion,
nativeDiagnostic,
),
);