sdk-traffic / com.tomtom.online.sdk.traffic.incidents.query / IncidentDetailsQuery / <init>

<init>

IncidentDetailsQuery(style: IncidentStyle!, boundingBox: BoundingBox!, zoom: Int!, trafficModelId: String!, language: IncidentResponseLanguage!, geometryType: IncidentGeometryType!, expandCluster: Boolean!, includeOriginalPosition: Boolean!, isoLanguage: String!)

Creates an instance of the incident details query used to gather traffic incidents using the Traffic API.

Parameters

style - IncidentStyle!: The style to be used to render the tile.

boundingBox - BoundingBox!: The corners of the area to report on.

zoom - Int!: zoom The level of tile to be rendered.

trafficModelId - String!: The ID of the traffic model which is updated every minute, and is valid for two minutes before it times out.

language - IncidentResponseLanguage!: Sets the language to use in the Response to the created query.

geometryType - IncidentGeometryType!: Sets the type of vector geometry added to incidents.

expandCluster - Boolean!: Sets whether a list of separate incidents should be added to clusters.

includeOriginalPosition - Boolean!: Sets whether the original position of the incident should be returned along with the one shifter to the beginning of the traffic tube.

isoLanguage - String!: The ISO 639-1 code for the output language.