@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
26 lines • 786 B
JavaScript
export const genSketchWithActivities = (activities) => {
return {
type: "Feature",
geometry: {
type: "Polygon",
coordinates: [],
},
properties: {
id: "615bbbe9aac8c8285d50db2d",
name: "mpa-test",
updatedAt: "2021-10-05T02:43:53.326Z",
createdAt: "2021-10-05T02:43:53.326Z",
sketchClassId: "615b59e1aac8c8285d50d9b8",
isCollection: false,
userAttributes: [
{
label: "Allowed Activities",
fieldType: "ChoiceField",
exportId: "ACTIVITIES",
value: activities,
},
],
},
};
};
//# sourceMappingURL=testing.js.map