ru.dgis.sdk.map.Map | Android SDK | 2GIS Documentation

Map

Map.

Methods
Properties

Map instance ID, unique within the process.

Getting a camera.

Getting a floor plan manager.

Notification about the status of data loaded into the card.

Notification about the status of data loaded into the card.

Get current map styles.

Get current map styles.

The icon and font size multiplier received from the application.

The size of icons and fonts is specified in logical pixels (see LogicalPixel) and multiplied by the font and icon size multiplier.

The icon and font size multiplier received from the application.

The size of icons and fonts is specified in logical pixels (see LogicalPixel) and multiplied by the font and icon size multiplier.

Getting the map data sources.

Occurs asynchronously. The method can be called from any thread, it is thread safe.

Getting attributes.

Properties must be specified: "theme"="day|night" "navigatorOn"="true|false"

TODO: style properties for traffic jams.

Map interactivity. Interactivity means that the user has the ability to interact with the map. If interactivity is disabled, the map will stop responding to input events received from the user. Controls for working with the map (zooming in and moving to the current position) will also stop working. It remains possible to work with the map via set_position/move. Unfinished gestures will be reset upon transition to the non-interactive state. By default, the map is interactive (interactive == true).

The function can be called from any thread.

Map interactivity. Interactivity means that the user has the ability to interact with the map. If interactivity is disabled, the map will stop responding to input events received from the user. Controls for working with the map (zooming in and moving to the current position) will also stop working. It remains possible to work with the map via set_position/move. Unfinished gestures will be reset upon transition to the non-interactive state. By default, the map is interactive (interactive == true).

The function can be called from any thread.