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.

  "imageSizes":[256, 512],

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.

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 ""