The INRIX Tile Service returns images that contain traffic graphics. They are useful for any application where maps with traffic are displayed, such as mobile and web apps.
The INRIX Tile APIs provide convenient images to overlay on top of your own base map solution. Alternately, use the Traffic data APIs to receive just the data to build your own images. Using the Traffic APIs results in a smaller payload than tiles, but requires that you create the code to generate images, as well as data about the location and geometry of each TMC. In addition, tiles are two-dimensional, so they would not work if you plan to overlay road data on a 3D surface. The Tile Service returns images with a transparent background, so it can be superimposed over other maps, such as Google or Bing maps.
Size and Location
The size and location of the tile is specified using the Bing Maps Tile System quadkey.
Speed buckets are used to determine what color is displayed on a road depending on what value the speed has as a percentage of the reference speed. You can use the default speed buckets, or you can create your own speed buckets which you specify by using the SpeedBucketId parameter. Each speed bucket contains information on the minimum and maximum percentage of reference speed in order for a speed to be contained in that bucket, as well as information for how that speed bucket is drawn, such as color, style, and width. For more information see the CreateSpeedBucket method.
Description: Generates a graphic image representation of traffic data.
GET Generates a graphic image representation of traffic data.
|quadkey||Path||String||A Bing Maps Tile System quadkey to generate a resulting tile which represents the described area. The minimum quadkey length is 6 digits and the maximum is 17. For more information about this format, see Bing Maps Tile System.|
|accesstoken||Query||String||A valid access token provided from the GET appToken API response. Alternatively, the accesstoken can be added to the request header instead of a url parameter using format 'Authorization: Bearer xxxx.xxx.xxxx'.|
|geoId||Query||Integer||The ID of a geography to which to crop the image. All pixels outside of the geography will be transparent. Multiple ids can be specified in a comma-delimited list.|
|opacity||Query||String||The pen opacity, as a percentage value between 0 and 100. The default is 100.|
|penWidth||Query||Float||The pen width of the traffic overlay, in pixels. The default is 4.|
|FRCLevel||Query||String||The Federal Road Classification code of the road segments to report. Multiple codes can be specified in a comma-delimited list.|
|startTime||Query||Datetime||This parameter is an optional date/time field in UTC, used to show predicted traffic, i.e. a number of minutes into the future from now. An example timestamp would be 2017-08-06T16:04:00Z|
|roadSegmentType||Query||String||The Road Segment Type (Location Referencing method) for the traffic tile to be returned.|
Example Tiles RequestQuery