Skip to content

Commit

Permalink
chore: remove ArcGIS Feature from map service options in external lay…
Browse files Browse the repository at this point in the history
…er (#2977)

ArcGIS Feature is not yet supported in the maps app, so we shouldn't yet
let users add external layers of this type
  • Loading branch information
jenniferarnesen authored Oct 29, 2024
1 parent e7822a1 commit 1d4a46b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/config/field-overrides/externalMapLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,17 @@ export default new Map([
},
},
],
[
'mapService',
{
required: true,
component: props => {
const options = props.options.filter(
option => option.value !== 'ARCGIS_FEATURE'
);

return <DropDown {...props} options={options} />;
},
},
],
]);

0 comments on commit 1d4a46b

Please sign in to comment.