Map | iOS SDK | 2GIS Documentation

Map

Map.

Extends: Hashable
public static func == (lhs: Map, rhs: Map) -> Bool

Returns a Boolean value indicating whether two values are equal.

Methods
Properties

Identifier of the map instance, unique within the process.

Receiving a camera.

Receiving floor plan manager.

StatefulChannel<MapDataLoadingState>

Notification of the status of the data loaded into the map.

Notification of the status of the data loaded into the map.

StatefulChannel<Style>

Retrieving the current map styles.

Retrieving the current map styles.

StatefulChannel<Float>

Icon and font size multiplier obtained from the application.

Icon and font size multiplier obtained from the application.

Getting map data sources.

StatefulChannel<MapVisibilityState>

Obtaining attributes.

StatefulChannel<Bool>

Map interactivity. Interactivity refers to the user's ability to interact with the map. If you disable the interactivity, the map will no longer react to the input events that came from the user. Controls for working with the map (zooming in and switching to the current position) will also stop working. At the same time, it is still possible to work with the map via set_position/move. When switching to non-interactive state, incomplete gestures will be reset. By default, the map is interactive (interactive == true).

Map interactivity. Interactivity refers to the user's ability to interact with the map. If you disable the interactivity, the map will no longer react to the input events that came from the user. Controls for working with the map (zooming in and switching to the current position) will also stop working. At the same time, it is still possible to work with the map via set_position/move. When switching to non-interactive state, incomplete gestures will be reset. By default, the map is interactive (interactive == true).