CustomPlacesManager

The class manages custom places: sets offline places or online places mode, installs and unistalls offline places. Online places are stored in online services and loaded when they are shown on a map view. Offline places are downloaded from online services and stored in a device in advance, so they can be shown also when a device is offline.

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class InstallProgress(val loadedRecords: Int, val totalRecords: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Task

Class responsible for cancelling the running operation it represents.

Functions

Link copied to clipboard

Add a CustomPlacesSearchIndexingListener to subscribe for indexing operations callbacks.

Link copied to clipboard

Get current mode: ONLINE or OFFLINE. Initialized to ONLINE mode.

Link copied to clipboard

Loads Custom Place Categories from provided json string.

Link copied to clipboard
Link copied to clipboard

Loads offline places from provided json string.

Link copied to clipboard
Link copied to clipboard

Remove a CustomPlacesSearchIndexingListener to unsubscribe from indexing operations callbacks.

Link copied to clipboard
Link copied to clipboard

Set mode: ONLINE or OFFLINE.

Link copied to clipboard
Link copied to clipboard

Downloads and installs updates for offline places of all installed countries.

Properties

Link copied to clipboard