TrafficScoreProvider
Subscribe to traffic updates.
This interface is thread-safe.
Extends:
ru.dgis.sdk.NativeObject
TrafficScoreProvider(map: Map)
A function for creating an object for tracking the amount of traffic jams in the map visibility area.
Parameters
map
Map
the map for which the area of visibility will be tracked.
Returns
an object for tracking the amount of traffic jams.
The resulting object must be stored all the time the data needs to be updated.
TrafficScoreProvider(context: Context, point: GeoPoint)
A function to create an object to monitor the amount of traffic jams for a given location.
Parameters
Properties
Current status and amount of traffic jams.
Current status and amount of traffic jams.