We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7d8581f + 2e32fca commit c1c133cCopy full SHA for c1c133c
1 file changed
web/src/store/layer.ts
@@ -180,7 +180,7 @@ export const useLayerStore = defineStore('layer', () => {
180
}
181
182
183
- // TODO: Move this conditional functionality into `addLayer`, and directly call addLayerFrameToMap there
+ // Add current frame to map if not added yet
184
const sourceId = mapStore.sourceIdFromLayerFrame(layer, frame);
185
if (layer.visible && !userMapLayers.some(
186
(mapLayerId) => mapLayerId.includes(sourceId)
0 commit comments