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>

Interactivity of a map. Interactivity means that the user can interact with the map. If you disable interactivity, the map will stop responding to input events coming from the user. Controls for working with the map (approaching and transition to the current position) will also stop working. 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).

Interactivity of a map. Interactivity means that the user can interact with the map. If you disable interactivity, the map will stop responding to input events coming from the user. Controls for working with the map (approaching and transition to the current position) will also stop working. 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).