Styles
Local identifier of a collection
List of available styles.
The request was not supported.
The requested resource does not exist on the server. For example, a path parameter had an incorrect value.
The HTTP method requested is not supported. This endpoint only supports 'GET' requests.
A request header value was not supported.
A server error occurred.
Gateway Timeout.
GET /maps/vector/ngd/ota/v1/collections/{collectionId}/styles HTTP/1.1
Host: api.os.uk
Accept: */*
{
"links": [
{
"href": "http://data.example.com/buildingpart/123",
"rel": "alternate",
"type": "application/geo+json",
"templated": true,
"varBase": "/ogcapi/vars/",
"hreflang": "en",
"title": "Building Part",
"length": 1
}
],
"styles": [
{
"id": "text",
"title": "text",
"links": [
{
"href": "http://data.example.com/buildingpart/123",
"rel": "alternate",
"type": "application/geo+json",
"templated": true,
"varBase": "/ogcapi/vars/",
"hreflang": "en",
"title": "Building Part",
"length": 1
}
]
}
]
}
Root level properties of a style specify the map's layers, tile sources and other resources, and default values for the initial camera position when not specified elsewhere.
Local identifier of a collection
An identifier representing a specific style.
OK
The request was not supported.
The requested resource does not exist on the server. For example, a path parameter had an incorrect value.
The HTTP method requested is not supported. This endpoint only supports 'GET' requests.
A request header value was not supported.
A server error occurred.
Gateway Timeout.
GET /maps/vector/ngd/ota/v1/collections/{collectionId}/styles/{styleId} HTTP/1.1
Host: api.os.uk
Accept: */*
{}
Local identifier of a collection
An identifier representing a specific style.
Styling resourece base name.
sprites
OK
The request was not supported.
The requested resource does not exist on the server. For example, a path parameter had an incorrect value.
The HTTP method requested is not supported. This endpoint only supports 'GET' requests.
A request header value was not supported.
A server error occurred.
Gateway Timeout.
GET /maps/vector/ngd/ota/v1/collections/{collectionId}/styles/{styleId}/{resourceBaseName}/** HTTP/1.1
Host: api.os.uk
Accept: */*
{}
Last updated
Was this helpful?