Open wragge opened 3 weeks ago
API endpoint is now: https://data.katebagnall.com/api/mapping_features/
The payload for features includes:
o:item
-- item that this feature will be attached too:media
-- media object displayed with featureo:label
-- label displayed with featureo-module-mapping:geography-type
-- one of Point
, Polygon
, or LineString
o-module-mapping:geography-coordinates
-- array of coordinates eg [longitude, latitude] for a Point
The Mapping module now supports lines and polygons, so I should include methods for adding them to an item.
The geography-type values are: