Package com.azure.maps.traffic.models
Class TrafficIncidentPointOfInterest
java.lang.Object
com.azure.maps.traffic.models.TrafficIncidentPointOfInterest
The TrafficIncidentPointOfInterest model.
-
Method Summary
Modifier and TypeMethodDescriptionGet the bottomLeftCoordinate property: Bottom left coordinate of the cluster in the projection of the request.getCause()
Get the cause property: Cause of the incident, where available, in the language requested.Get the clusterSize property: Cluster size: the number of incidents in the cluster.Get the delayInSeconds property: Delay caused by the incident in seconds (except in road closures).Get the description property: Description of the incident in the language requested.Get the endDate property: Estimated end date of the incident, if available.Get the iconCategory property: The icon category associated with this incident.getId()
Get the id property: ID of the traffic incident.Get the lengthInMeters property: Length of the incident in meters.Get the magnitudeOfDelay property: The magnitude of delay associated with incident.getPoint()
Get the point property: The point where an icon of the cluster or raw incident should be drawn, expressed in the requested projection.Get the roadNumbers property: The road number(s) affected by the incident.Get the startDate property: Start date of the incident, if available.Get the topLeftCoordinate property: Top right coordinate of the cluster in the projection of the request.Get the trafficEndLocation property: To: the name of the intersection or location where the traffic due to the incident ends.Get the trafficStartLocation property: From: the name of the intersection or location where the traffic due to the incident starts.
-
Method Details
-
getId
Get the id property: ID of the traffic incident.- Returns:
- the id value.
-
getPoint
Get the point property: The point where an icon of the cluster or raw incident should be drawn, expressed in the requested projection. This is affected by traffic style, zoom level and road type.- Returns:
- the point value.
-
getIconCategory
Get the iconCategory property: The icon category associated with this incident. Values are numbers in the range 0-13, with the following meanings -- 0: Unknown, 1: Accident, 2: Fog, 3: Dangerous Conditions, 4: Rain, 5: Ice, 6: Jam, 7: Lane Closed, 8: Road Closed, 9: Road Works, 10: Wind, 11: Flooding, 12: Detour, 13: Cluster.- Returns:
- the iconCategory value.
-
getMagnitudeOfDelay
Get the magnitudeOfDelay property: The magnitude of delay associated with incident. These values correspond to incident colors in the traffic tiles.- Returns:
- the magnitudeOfDelay value.
-
getBottomLeftCoordinate
Get the bottomLeftCoordinate property: Bottom left coordinate of the cluster in the projection of the request.- Returns:
- the bottomLeftCoordinate value.
-
getTopLeftCoordinate
Get the topLeftCoordinate property: Top right coordinate of the cluster in the projection of the request.- Returns:
- the topLeftCoordinate value.
-
getClusterSize
Get the clusterSize property: Cluster size: the number of incidents in the cluster.- Returns:
- the clusterSize value.
-
getLengthInMeters
Get the lengthInMeters property: Length of the incident in meters.- Returns:
- the lengthInMeters value.
-
getRoadNumbers
Get the roadNumbers property: The road number(s) affected by the incident. Multiple road numbers will delimited by slashes.- Returns:
- the roadNumbers value.
-
getStartDate
Get the startDate property: Start date of the incident, if available. The date is described in the ISO8601 format.- Returns:
- the startDate value.
-
getEndDate
Get the endDate property: Estimated end date of the incident, if available. The date is described in the ISO8601 format.- Returns:
- the endDate value.
-
getDelayInSeconds
Get the delayInSeconds property: Delay caused by the incident in seconds (except in road closures).- Returns:
- the delayInSeconds value.
-
getTrafficEndLocation
Get the trafficEndLocation property: To: the name of the intersection or location where the traffic due to the incident ends.- Returns:
- the trafficEndLocation value.
-
getTrafficStartLocation
Get the trafficStartLocation property: From: the name of the intersection or location where the traffic due to the incident starts.- Returns:
- the trafficStartLocation value.
-
getDescription
Get the description property: Description of the incident in the language requested.- Returns:
- the description value.
-
getCause
Get the cause property: Cause of the incident, where available, in the language requested.- Returns:
- the cause value.
-