GuidesAPI Reference
Guides

Change the image size

You can change the size of images rendered by the HERE Traffic Raster Tile API. The default size is 512x512. In this tutorial, the size of the image is changed to 256x256.

Code

https://traffic.maps.hereapi.com/v3/flow/mc/9/272/177/png?size=256

Procedure

To identify the available image sizes, query the https://traffic.maps.hereapi.com/v3/info endpoint and check the values for imageSizes. Once you have confirmed the values for imageSizes, send the above code request to set the size to 256.

Result

The response will return the following: Example of size=256