Map
Map.
Hashable
public static func == (lhs: Map, rhs: Map) -> Bool
Returns a Boolean value indicating whether two values are equal.
Identifier of the map instance, unique within the process.
Gets a camera.
Gets floor plan manager.
StatefulChannel<MapDataLoadingState>
Notification of the status of data being loaded into the map.
When tracking a camera position, the map state is always MapDataLoadingState::Loading.
Notification of the status of data being loaded into the map.
When tracking a camera position, the map state is always MapDataLoadingState::Loading.
StatefulChannel<Style>
Gets the current map styles.
Gets the current map styles.
StatefulChannel<Float>
Icon and font size multiplier obtained from the application.
Icon and font size multiplier obtained from the application.
Obtains map data sources.
Happens asynchronously. The method can be called from any thread, thread-safe.
StatefulChannel<MapVisibilityState>
Gets attributes.
The following properties must be specified: “theme”=“day|night” “navigatorOn”=“true|false”
StatefulChannel<Bool>
Interactivity of the map (a user can interact with the map). If interactivity is disabled, the map stops responding to input events obtained from the user. Also, the map controls (zooming in and moving to the current position) stop working. However, you can still work with the map via set_position/move. When switching to a non-interactive state, incomplete gestures are reset. By default, the map is interactive (interactive == true).
The function can be called from any thread.
Interactivity of the map (a user can interact with the map). If interactivity is disabled, the map stops responding to input events obtained from the user. Also, the map controls (zooming in and moving to the current position) stop working. However, you can still work with the map via set_position/move. When switching to a non-interactive state, incomplete gestures are reset. By default, the map is interactive (interactive == true).
The function can be called from any thread.
StatefulChannel<GraphicsPreset?>
Gets the recommended graphic mode for the given device.
Gets the recommended graphic mode for the given device.
StatefulChannel<GraphicsPreset?>
Gets the graphic mode. In case of nil, the recommended mode is used. If the recommended mode cannot be defined, the Normal one is used.
Gets the graphic mode. In case of nil, the recommended mode is used. If the recommended mode cannot be defined, the Normal one is used.