public abstract class BaseTrafficIncident extends java.lang.Object implements com.tomtom.online.sdk.common.util.Visitable<TrafficIncidentVisitor>
Constructor and Description |
---|
BaseTrafficIncident() |
Modifier and Type | Method and Description |
---|---|
LatLng |
getAdjustedPosition()
Returns the point where an icon of the cluster or raw incident should be drawn.
|
IncidentIconCategory |
getIconCategory()
Returns the icon category associated with this incident.
|
java.lang.String |
getId()
Returns the ID of the traffic incident.
|
int |
getLengthMeters()
Returns length of the incident in meters.
|
IncidentMagnitude |
getMagnitude()
Returns magnitude of delay associated with incident.
|
protected void |
setIconCategory(int iconCategory) |
protected void |
setMagnitude(int magnitude) |
public java.lang.String getId()
public LatLng getAdjustedPosition()
public IncidentIconCategory getIconCategory()
public IncidentMagnitude getMagnitude()
public int getLengthMeters()
protected void setIconCategory(int iconCategory)
protected void setMagnitude(int magnitude)