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
5 changes: 5 additions & 0 deletions .changeset/khaki-forks-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@feltmaps/js-sdk": patch
---

Update layer visible docs
2 changes: 2 additions & 0 deletions docs/Layers/DataOnlyLayer.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ to users via the layer info button in the legend.

Whether the layer is visible or not.

If a layer belongs to a layer group the group's visibility takes precedence.

***

## shownInLegend
Expand Down
2 changes: 2 additions & 0 deletions docs/Layers/LayerCommon.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ to users via the layer info button in the legend.

Whether the layer is visible or not.

If a layer belongs to a layer group the group's visibility takes precedence.

***

## shownInLegend
Expand Down
2 changes: 2 additions & 0 deletions docs/Layers/RasterLayer.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ to users via the layer info button in the legend.

Whether the layer is visible or not.

If a layer belongs to a layer group the group's visibility takes precedence.

***

## shownInLegend
Expand Down
2 changes: 2 additions & 0 deletions docs/Layers/VectorLayer.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ to users via the layer info button in the legend.

Whether the layer is visible or not.

If a layer belongs to a layer group the group's visibility takes precedence.

***

## shownInLegend
Expand Down
424 changes: 212 additions & 212 deletions etc/js-sdk.api.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/modules/layers/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ export interface LayerCommon {

/**
* Whether the layer is visible or not.
*
* If a layer belongs to a layer group the group's visibility takes precedence.
*/
visible: boolean;

Expand Down
Loading