Contents:
This API call gives a list of map download files in Mapsforge format.
These are for use as offline map packs in the CycleStreets Android app.
https://api.cyclestreets.net/v2/mapdownloads.list
Result:
{ "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "id": "alberta", "name": "Alberta", "parent": "canada", "size": "145MB", "lastModified": "2020-04-20", "url: "https://example.com/mapsforge/v5/north-america/canada/alberta.map" }, "geometry": { "type": "Point", "coordinates": [ -115.00305, 54.49753 ] } }, { "type": "Feature", "properties": { "id": "algeria", "name": "Algeria", "parent": "africa", "size": "146MB", "lastModified": "2020-05-29", "url: "https://example.com/mapsforge/v5/africa/algeria.map" }, "geometry": { "type": "Point", "coordinates": [ 1.66554, 28.35079 ] } }, ... } }
None.
JSON object as above.
JSON object containing an error key and a text string.
Example error (text string will vary):
{
"error": "The value of the supplied fullgeometries was not a numeric boolean (1 or 0)."
}