MapSceneLightsAttributeSettingCallback typedef - mapview library - Dart API
MapSceneLightsAttributeSettingCallback
MapSceneLightsAttributeSettingCallback typedef
This callback function allows handling errors that occur during the setting of light attributes.
setLightErrorThe cause for the failure when setting the light attributes, ornullif no error occurred.
Note: The error code NO_LIGHTS may be returned when attempting to set light attributes in map schemes
that do not support lights, for instance road.network map scheme.
Please refer to the error code documentation for further details on error handling.
Implementation
typedef MapSceneLightsAttributeSettingCallback = void Function(MapSceneLightsAttributeSettingError? setLightError);