Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/user_guide/how-tos/story-maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Select a Story Segment layer in the left panel (under the **Segments** tab). The
- **Immediate** jumps there with no animation.
- **Linear** animates directly to the segment’s view.
- **Smooth** zooms out, pans to the segment, then zooms back in.
- **Symbology Override**: Optional overrides for other layers when this segment is active (e.g. visibility, opacity, or opening the symbology dialog for a target layer to set style). Add an override by choosing a target layer and configuring the options.
- **Layer Override**: Optional overrides for other layers when this segment is active (e.g. visibility, opacity, or opening the symbology dialog for a target layer to set style). Add an override by choosing a target layer and configuring the options.

Changes are saved as you edit; no separate “Save” step is required.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function LayerOverrideItem({ item, formContext }: ILayerOverrideItemProps) {
<div style={{ flex: 1 }}>{item.children}</div>
<div style={{ display: 'flex', gap: '1rem' }}>
<Button
title="Edit symbology override for the target layer"
title="Edit layer override for the target layer"
onClick={handleOpenSymbology}
style={{ width: '100%' }}
disabled={!canOpenSymbology}
Expand Down Expand Up @@ -104,7 +104,7 @@ export function ArrayFieldTemplate(props: ArrayFieldTemplateProps) {
/>
))}
{props.canAdd && (
<Button onClick={props.onAddClick}>Add Symbology Override</Button>
<Button onClick={props.onAddClick}>Add Layer Override</Button>
)}
</div>
</>
Expand Down
8 changes: 4 additions & 4 deletions packages/base/src/panelview/story-maps/StoryViewerPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import StoryImageSection from './components/StoryImageSection';
import StorySubtitleSection from './components/StorySubtitleSection';
import StoryTitleSection from './components/StoryTitleSection';

/** Entry for a layer affected by symbology override: remove (added clone) or restore (modified existing). */
/** Entry for a layer affected by layer override: remove (added clone) or restore (modified existing). */
interface IOverrideLayerEntry {
layerId: string;
action: 'remove' | 'restore';
Expand Down Expand Up @@ -99,7 +99,7 @@ const StoryViewerPanel = forwardRef<
[model],
);

/** Layers affected by symbology override
/** Layers affected by layer override
* We want to remove added layers (ie Heatmap)
* and Restore the original symbology for modified layers
*/
Expand Down Expand Up @@ -320,7 +320,7 @@ const StoryViewerPanel = forwardRef<
};
}, [model, storyData, setIndex]);

// Apply symbology overrides for the segment at the given index
// Apply layer overrides for the segment at the given index
const overrideSymbology = (index: number) => {
if (index < 0 || !storySegments[index]) {
return;
Expand All @@ -334,7 +334,7 @@ const StoryViewerPanel = forwardRef<
return;
}

// Apply all symbology overrides for this segment
// Apply all layer overrides for this segment
layerOverrides.forEach(override => {
const {
color,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@
},
"layerOverride": {
"type": "array",
"title": "Symbology Override",
"description": "Symbology overrides to apply to target layers when this story segment is active",
"title": "Layer Override",
"description": "Layer overrides to apply to target layers when this story segment is active",
"items": {
"type": "object",
"properties": {
"targetLayer": {
"type": "string",
"title": "Target Layer",
"description": "The name of the layer to apply a symbology override to when this story segment is active",
"description": "The name of the layer to apply a layer override to when this story segment is active",
"default": ""
},
"visible": {
Expand Down
Loading