Skip to content

Commit 5f7ae5b

Browse files
committed
removed commented out code
1 parent 50a4248 commit 5f7ae5b

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

src/frontend/src/Components/map/layers/camerasLayer.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// OpenLayers
22
import { Point } from 'ol/geom';
3-
// import { Style } from 'ol/style';
43
import {Style, Fill, Stroke, Text} from 'ol/style';
54
import * as ol from 'ol';
65
import VectorLayer from 'ol/layer/Vector';
@@ -104,26 +103,9 @@ export function getCamerasLayer(cameras, projectionCode, mapContext, referenceDa
104103
},
105104
});
106105

107-
108-
109-
// expose clusterSource so we can control zoom behavior
110106
layer.getClusterSource = () => clusterSource;
111107

112-
113-
114108
return layer;
115-
116-
117-
118-
// return new VectorLayer({
119-
// classname: 'webcams',
120-
// visible: mapContext.visible_layers.highwayCams,
121-
// source: vectorSource,
122-
// style: () => null
123-
// });
124-
125-
126-
127109
}
128110

129111
export function updateCamerasLayer(cameras, layer, setLoadingLayers) {
@@ -157,7 +139,6 @@ export function updateCamerasLayer(cameras, layer, setLoadingLayers) {
157139
catch {
158140
feature.values_.features[0].setCameraStyle('static');
159141
}
160-
// feature.setCameraStyle('static');
161142
}
162143

163144
setLoadingLayers(prevState => ({

0 commit comments

Comments
 (0)