GeomapPanel: Add base types to data layer options (#50053)

* GeomapPanel: Add base types to data layer options

Removed isBaseMap check from data layer filter, which used to remove
base layer types from data layer options. For layer editor, slider to
control opacity is added.

* GeomapPanel: Reorder data layer options

For data layer selection, present user with data layer types first,
before base map layer types. Refactored to consolidate layer options
into a single exported function in registry with a base map boolean.

* GeomapPanel: Add descriptions to base map types

* GeomapPanel: add hideOpacity and apply to markers

* GeomapPanel: update descriptions for map types

Closes #47812
This commit is contained in:
Drew Slobodnjak
2022-06-13 14:07:20 -07:00
committed by GitHub
parent 904b70cfe2
commit 07aa2bbbba
10 changed files with 67 additions and 40 deletions

View File

@@ -104,9 +104,9 @@ export interface MapLayerRegistryItem<TConfig = MapLayerOptions> extends Registr
showLocation?: boolean;
/**
* Show transparency controls in UI (for non-basemaps)
* Hide transparency controls in UI
*/
showOpacity?: boolean;
hideOpacity?: boolean;
/**
* Function that configures transformation and returns a transformer