Map Composable State
State that allows control over various map-related parameters and behaviors, such as theme, copyright configuration, FPS settings, touch events, screenshot functionality, and gestures.
Notes:
Main Thread Requirement: All interactions with this class, including setting properties or invoking methods, must be performed on the main thread to ensure thread safety and proper UI behavior.
MapOptions.mapTheme
is not used. Use thesetTheme
method instead to update the theme.Some functionalities, such as taking snapshots or gesture management, are only available when the map is ready (
map
is notnull
).
Properties
Functions
Updates the URI opener for copyright clicks.
Hides or displays the SDK version next to the copyright text.
Takes a snapshot of the map at the specified alignment.