Skip to content

Commit

Permalink
website: Fix Syntax Error in layerFilter (#9242)
Browse files Browse the repository at this point in the history
  • Loading branch information
nonlinearcom authored and Pessimistress committed Nov 21, 2024
1 parent 8e8fc65 commit 5db714f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/developer-guide/views.md
Original file line number Diff line number Diff line change
Expand Up @@ -790,9 +790,9 @@ const deck = new Deck({
// ...
})
],
layerFilter: ({layer, viewport} => {
layerFilter: ({layer, viewport}) => {
return layer.id === `tiles-for-${viewport.id}`;
});
}
});
```

Expand All @@ -819,9 +819,9 @@ const deck = new Deck<[MapView, MapView]>({
// ...
})
],
layerFilter: ({layer, viewport} => {
layerFilter: ({layer, viewport}) => {
return layer.id === `tiles-for-${viewport.id}`;
});
}
});
```

Expand Down

0 comments on commit 5db714f

Please sign in to comment.