Traffic Tile
Request
The Traffic Tile API returns traffic tiles in the standard format used by a variety of mapping services.
GET https://apis.location.studio/geo/maps/v2/traffic
Required Parameters
api_key |
String |
Your Location Studio API Key |
loc |
String |
Locale |
v |
String |
Version |
fmt |
String |
Format. PNG is the only format currently supported. |
res |
String |
Resolution in pixels per inch. |
x |
String |
The x-coordinate of the tile. |
y |
String |
The y-coordinate of the tile. |
z |
String |
The zoom level of the tile. |
sz |
String |
The size of the tile in pixels square. 128 and 256 are supported. |
Notes: The x and y values are in the OpenStreetMap coordinate system. Reference this link on how to convert between lat/lon and OSM tile coordinates.
Response
Description
The traffic tile image will be returned in the format specified.
Response Traffic Tile