diff options
| -rw-r--r-- | src/Map.tsx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Map.tsx b/src/Map.tsx index 588f5c4..590f80d 100644 --- a/src/Map.tsx +++ b/src/Map.tsx @@ -43,12 +43,6 @@ export function Map({ slider, images }: MapProps) { map.current.on("style.load", () => { setLoaded(true); }); - - map.current.on("move", () => { - setLng(map.current.getCenter().lng.toFixed(4)); - setLat(map.current.getCenter().lat.toFixed(4)); - setZoom(map.current.getZoom().toFixed(2)); - }) }); useEffect(() => { |
