Skip to content

Commit 4246c5e

Browse files
KuznecoffFarfurix
andauthored
Apply suggestions from code review
Co-authored-by: Vladimir Airikh <vladimir.airich@gmail.com>
1 parent 48d8d3b commit 4246c5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/deckgl2gisLayer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export class Deck2gisLayer<LayerT extends Layer> implements DeckCustomLayer {
132132
};
133133

134134
/**
135-
* Update a layer after it's added.
135+
* Sets layer properties and updates the layer.
136136
*/
137137
public setProps(props: Partial<LayerProps<LayerT>>) {
138138
// id cannot be changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ function updateLayers(deck: Deck): void {
198198
}
199199

200200
/**
201-
* The helper function is a make in Deck.gl props to MapGL map link with him.
201+
* Initializes deck.gl properties for working with the MapGL map.
202202
* @param map The map instance.
203203
* @param deckProps CustomRenderProps initialization options.
204204
*/

0 commit comments

Comments
 (0)