Map Data Instance

API endpoint that allows maps to be viewed and edited.

Filter fields

You can filter the result set by providing the following query parameters:

Ordering

You can order the result set by providing the ordering query parameter with the value of one of:

  • length

You can reverse ordering by using the - sign, e.g. -length.

GET /api/v4/maps/116/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, PUT, DELETE, HEAD, OPTIONS, PATCH
{ "url": "https://ja.localwiki.org/api/v4/maps/116/", "page": "https://ja.localwiki.org/api/v4/pages/1219/", "region": "https://ja.localwiki.org/api/v4/regions/1/", "points": null, "lines": null, "polys": { "type": "MultiPolygon", "coordinates": [ [ [ [ -92.30175709557, 35.363107490943 ], [ -92.299654243704, 35.362670021133 ], [ -92.296864746331, 35.362442535895 ], [ -92.296950577015, 35.354322643073 ], [ -92.298195122, 35.352992582805 ], [ -92.305619476551, 35.353692617255 ], [ -92.305147407764, 35.354357644363 ], [ -92.303302047967, 35.355582679962 ], [ -92.30313038659, 35.356282691962 ], [ -92.303688286059, 35.357122698351 ], [ -92.303216217273, 35.35820769367 ], [ -92.303688286061, 35.359397671775 ], [ -92.303387878648, 35.36023764576 ], [ -92.302443741075, 35.360307643198 ], [ -92.30175709557, 35.363107490943 ] ] ] ] }, "geom": { "type": "GeometryCollection", "geometries": [ { "type": "Polygon", "coordinates": [ [ [ -92.30175709557, 35.363107490943 ], [ -92.299654243704, 35.362670021133 ], [ -92.296864746331, 35.362442535895 ], [ -92.296950577015, 35.354322643073 ], [ -92.298195122, 35.352992582805 ], [ -92.305619476551, 35.353692617255 ], [ -92.305147407764, 35.354357644363 ], [ -92.303302047967, 35.355582679962 ], [ -92.30313038659, 35.356282691962 ], [ -92.303688286059, 35.357122698351 ], [ -92.303216217273, 35.35820769367 ], [ -92.303688286061, 35.359397671775 ], [ -92.303387878648, 35.36023764576 ], [ -92.302443741075, 35.360307643198 ], [ -92.30175709557, 35.363107490943 ] ] ] } ] }, "length": 0.0342905020846 }