Skip to content

Commit d982fca

Browse files
committed
Add descriptions for each render type
1 parent 824e0b8 commit d982fca

File tree

5 files changed

+20
-3
lines changed

5 files changed

+20
-3
lines changed

packages/base/src/dialogs/symbology/vector_layer/types/Canonical.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,12 @@ const Canonical = ({
9494
}
9595
})();
9696

97-
return <div className="jp-gis-layer-symbology-container">{body}</div>;
97+
return (
98+
<div className="jp-gis-layer-symbology-container">
99+
<p>Color features based on an attribute containing a hex color code.</p>
100+
{body}
101+
</div>
102+
);
98103
};
99104

100105
export default Canonical;

packages/base/src/dialogs/symbology/vector_layer/types/Categorized.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,12 @@ const Categorized = ({
271271
}
272272
})();
273273

274-
return <div className="jp-gis-layer-symbology-container">{body}</div>;
274+
return (
275+
<div className="jp-gis-layer-symbology-container">
276+
<p>Color features based on an attribute containing unique values.</p>
277+
{body}
278+
</div>
279+
);
275280
};
276281

277282
export default Categorized;

packages/base/src/dialogs/symbology/vector_layer/types/Graduated.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,12 @@ const Graduated: React.FC<ISymbologyTabbedDialogWithAttributesProps> = ({
328328
}
329329
})();
330330

331-
return <div className="jp-gis-layer-symbology-container">{body}</div>;
331+
return (
332+
<div className="jp-gis-layer-symbology-container">
333+
<p>Color features based on an attribute containing scalar values.</p>
334+
{body}
335+
</div>
336+
);
332337
};
333338

334339
export default Graduated;

packages/base/src/dialogs/symbology/vector_layer/types/Heatmap.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ const Heatmap = ({
8787

8888
return (
8989
<div className="jp-gis-layer-symbology-container">
90+
<p>Represent features based on their density using a heatmap.</p>
9091
<div className="jp-gis-symbology-row jp-gis-heatmap">
9192
<label htmlFor="color-ramp-select">Color Ramp:</label>
9293
<CanvasSelectComponent

packages/base/src/dialogs/symbology/vector_layer/types/SimpleSymbol.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ const SimpleSymbol = ({
210210

211211
return (
212212
<div className="jp-gis-layer-symbology-container">
213+
<p>Color all features the same way.</p>
213214
{symbologyTab === 'color' ? renderColorTab() : renderRadiusTab()}
214215
</div>
215216
);

0 commit comments

Comments
 (0)