diff --git a/packages/landing/src/components/layer.switcher.dropdown.tsx b/packages/landing/src/components/layer.switcher.dropdown.tsx index ead43a6dc..4e173df2a 100644 --- a/packages/landing/src/components/layer.switcher.dropdown.tsx +++ b/packages/landing/src/components/layer.switcher.dropdown.tsx @@ -30,7 +30,9 @@ export interface Option { export interface LayerSwitcherDropdownState { layers?: Map; + /** Should the map be zoomed to the extent of the layer when the layer is changed */ zoomToExtent: boolean; + /** Should the drop down be limited to the approximate extent of the map */ limitToExtent: boolean; currentLayer: string; } @@ -198,13 +200,13 @@ export class LayerSwitcherDropdown extends Component