From 3ab47584bb9eeac41636f0249cab9b1e7bd40783 Mon Sep 17 00:00:00 2001 From: lokeshramchand-ctrl Date: Wed, 4 Feb 2026 04:18:09 +0000 Subject: [PATCH] refactor : remove comments --- src/components/Methods/Marker.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/Methods/Marker.tsx b/src/components/Methods/Marker.tsx index b658996..597ec0b 100644 --- a/src/components/Methods/Marker.tsx +++ b/src/components/Methods/Marker.tsx @@ -1,4 +1,3 @@ -// src/Methods/addMarker.ts import Feature from 'ol/Feature'; import Point from 'ol/geom/Point'; @@ -9,16 +8,11 @@ import Icon from 'ol/style/Icon'; import { Map } from 'ol'; import { Coordinate } from 'ol/coordinate'; -/** - * Adds a custom icon marker to the map at a given coordinate, - * replacing the previous marker layer if one exists. - */ export const addMarker = ( coords: Coordinate, map: Map, existingMarkerLayer: VectorLayer | null ): VectorLayer => { - // Create feature for the marker const markerFeature = new Feature({ geometry: new Point(coords), });