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/109/
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/109/", "page": "https://ja.localwiki.org/api/v4/pages/1147/", "region": "https://ja.localwiki.org/api/v4/regions/1/", "points": { "type": "MultiPoint", "coordinates": [ [ -93.751705643837, 35.458222672712 ], [ -93.756211754792, 35.448504259519 ], [ -93.761318680759, 35.449028664289 ], [ -93.7421140641, 35.484750060402 ] ] }, "lines": null, "polys": null, "geom": { "type": "GeometryCollection", "geometries": [ { "type": "Point", "coordinates": [ -93.751705643837, 35.458222672712 ] }, { "type": "Point", "coordinates": [ -93.756211754792, 35.448504259519 ] }, { "type": "Point", "coordinates": [ -93.761318680759, 35.449028664289 ] }, { "type": "Point", "coordinates": [ -93.7421140641, 35.484750060402 ] } ] }, "length": 0.0 }