Skip to content

Commit

Permalink
Merge in feat-map
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanBirtch-aot committed Sep 26, 2024
2 parents 03d20e4 + a550238 commit 1235e4c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 30 deletions.
12 changes: 12 additions & 0 deletions components/src/components/Map/editForm/Component.edit.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ export default {
'This will be the value for this field, before user interaction.',
input: true,
},
{
label: 'How many Markers per Submission?',
key: 'numPoints',
type: 'simplenumber',
defaultValue: 1,
input: true,
},

{
label: 'Default Zoom Level',
description:
Expand Down Expand Up @@ -78,6 +86,10 @@ export default {
'Add circular area of interest through a point and custom radius',
value: 'circle',
},
{
label: 'Add a polygon',
value: 'polygon',
},
],
defaultValue: 'marker',
key: 'markerType',
Expand Down
30 changes: 0 additions & 30 deletions components/src/components/Map/editForm/Component.edit.display.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,35 +59,5 @@ export default {
tooltip:
'Assign one or more CSS class names to customize the appearance of this component.',
},

// {
// // You can ignore existing fields.
// key: 'placeholder',
// ignore: true,
// },
// {
// key: 'tableView',
// ignore: true,
// },
// {
// key: 'hidden',
// ignore: true,
// },
// {
// key: 'autofocus',
// ignore: true,
// },
// {
// key: 'tabindex',
// ignore: true,
// },
// {
// key: 'modalEdit',
// ignore: true,
// },
// {
// key: 'disabled',
// ignore: true,
// },
],
};

0 comments on commit 1235e4c

Please sign in to comment.