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"],
  "imageSizes":[256, 512],
  "mapVersion":"in327jp128",
  "projections":["mc"],
  "resources":["background","base","blank","label"],
  "styles":["explore.satellite.day","explore.day","explore.night","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.

https://maps.hereapi.com/v3/base/mc/9/282/307/png?mv=in327jp128&apiKey={API_KEY}
Figure 1. Tile of an area around Cape Town

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

results matching ""

    No results matching ""