View on DevOps
Maps
Maps API allows users to embed a static map image or an interactive map in an application.
On this page
Base URLs:
TODO: Authentication
Gets a static image
Gets a static image.
GET /static/{id}/{zoom}/{lat},{lon}/{width}x{height}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | true | Map provider id. |
| zoom | path | integer | true | Format - int32. Zoom level; a number between 0 and 20. |
| lat | path | number | true | Format - double. Latitude for the center point of the static map; a number between -90 and 90. |
| lon | path | number | true | Format - double. Longitude for the center point of the static map; a number between -180 and 180. |
| width | path | integer | true | Format - int32. Width of the image; a number between 1 and 1280 pixels. |
| height | path | integer | true | Format - int32. Height of the image; a number between 1 and 1280 pixels. |
Gets a tile
Gets a tile.
GET /tile/{id}/{z}/{x}/{y}.{format}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | true | Map provider id. |
| z | path | integer | true | Format - int32. Specifies the tile’s zoom level. |
| x | path | integer | true | Format - int32. Specifies the tile’s column {x}. |
| y | path | integer | true | Format - int32. Specifies the tile’s row {y}. |
| format | path | string | true | Specifies the tile’s format. |