Skip to content

Commit 8edd353

Browse files
committed
removed unused code
1 parent 756b846 commit 8edd353

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/layers/UseCurrentLocationLayer.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import { Circle as CircleStyle, Fill, Stroke, Style } from 'ol/style'
77
import { CurrentLocationStoreState } from '@/stores/CurrentLocationStore'
88
import { fromLonLat } from 'ol/proj'
99

10-
const LOCATION_LAYER_KEY = 'gh:current_location'
11-
1210
export default function useCurrentLocationLayer(map: Map, locationState: CurrentLocationStoreState) {
1311
const layerRef = useRef<VectorLayer<VectorSource> | null>(null)
1412
const positionFeatureRef = useRef<Feature | null>(null)
@@ -85,15 +83,6 @@ function createLocationLayer(): VectorLayer<VectorSource> {
8583
}),
8684
}),
8785
}),
88-
// Pulsing effect outer ring
89-
// new Style({
90-
// image: new CircleStyle({
91-
// radius: 16,
92-
// fill: new Fill({
93-
// color: 'rgba(66, 133, 244, 0.2)'
94-
// })
95-
// })
96-
// })
9786
]
9887
} else if (geometry instanceof CircleGeom) {
9988
// Accuracy circle style

0 commit comments

Comments
 (0)