v1

latestOpenAPI 3.0.02026-07-1410024.8 KB
Raster

Static Image

The Static Image service renders a rectangular raster image in the style, size, and zoom level specified. The image can be requested using either a center point plus width and height or a bounding box.

get/map/{versionNumber}/staticimage

Path parameters

versionNumber1 required

Version of the service to call. The current version is 1.

Query parameters

layer'basic' | 'hybrid' | 'labels'

Layer of image to be rendered. <em>Hybrid</em> and <em>labels</em> are intended for layering with other data and are only available in <em>png</em> format.

style'main' | 'night'

Map style to be returned

format'png' | 'jpg' | 'jpeg'

Image format to be returned

zoom0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22

Zoom level of map image to be returned.

centerstring

Coordinates for the center point of the image. Must be used with the <strong>width</strong> and <strong>height</strong> parameters; cannot be used with <strong>bbox</strong>. Uses EPSG:3857 projection (functionally equivalent to EPSG:900910).

widthinteger

Width of the resulting image in pixels. Width must be a positive integer between 1 and 8192.

heightinteger

Height of the resulting image in pixels. Height must be a positive integer between 1 and 8192.

bboxstring

Bounding box for the image, using EPSG:3857 projection (functionally equivalent to EPSG:900910). Values <strong>must</strong> be in the order of minLon, minLat, maxLon, maxLat. MaxLat must be greater than minLat. Longitude values can be on both sides of the 180th meridian. Cannot be used with <strong>center</strong>, <strong>width</strong>, or <strong>height</strong> parameters.

view'Unified' | 'IN'

Geopolitical view. Determines rendering of disputed areas. See the <a href="/maps-api/maps-api-documentation-raster/raster-tile">documentation</a> for an explanation of how this works in live services.

Response

<b>OK</b>