open class TrafficIncidentIconProvider
Gives the possibility to obtain icon for particular traffic incident.
class IconSize
Determines the size of the returned drawable. |
TrafficIncidentIconProvider(trafficIncident: BaseTrafficIncident!)
Creates the provider for any kind of traffic incident: standard and cluster. |
open fun getIcon(context: Context!, size: TrafficIncidentIconProvider.IconSize!): Drawable?
Obtains the drawable based on magnitude and category of the traffic incident. It also provides the chosen size of drawable: small, medium or large. |