Ensure consistency between map updates

To request the current version of a map, use the Info endpoint.

When you make an info request, the response is similar to the example below.

{"imageFormats":["jpeg","png","png8"],
"mapVersion":"in298",
"projections":["mc"],
"resources":["base"],
"styles":["oslo.hybrid.day","oslo.normal.day","oslo.normal.night","oslo.satellite.day"],
"zoomLevels":{"max":"20","min":"0"}}

You can store the mapVersion value in your client application. You must refresh this value every 24 hours. Use this value in the mv query parameter to request tiles from this version of the map.

For example, the code snippet below always returns tiles from a fixed map version.

z stands for zoom, x for column and y for row within the Mercator projection and the base layer.

https://maps.hereapi.com/v3/{resource}/{projection}/{z}/{x}/{y}/{format}?mv=in298

This is useful to avoid receiving tiles from different map versions that might not match during a map update.

results matching ""

    No results matching ""