From f5ec4f35267c0e1c438d90f4927e0cfe2238c791 Mon Sep 17 00:00:00 2001 From: shivadas1980 Date: Fri, 15 Nov 2024 14:17:49 +0530 Subject: [PATCH] Returning wrong pixel xy value on mousemove for leaflet engine (#10677) Co-authored-by: Shivendra Das --- web/client/components/map/leaflet/Map.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/client/components/map/leaflet/Map.jsx b/web/client/components/map/leaflet/Map.jsx index 27e0057b60..158646de00 100644 --- a/web/client/components/map/leaflet/Map.jsx +++ b/web/client/components/map/leaflet/Map.jsx @@ -488,7 +488,7 @@ class LeafletMap extends React.Component { crs: "EPSG:4326", pixel: { x: event.containerPoint.x, - y: event.containerPoint.x + y: event.containerPoint.y }, latlng: { lat: event.latlng.lat,