Skip to content

Commit

Permalink
Returning wrong pixel xy value on mousemove for leaflet engine (#10677)
Browse files Browse the repository at this point in the history
Co-authored-by: Shivendra Das <[email protected]>
  • Loading branch information
shivadas1980 and Shivendra Das authored Nov 15, 2024
1 parent 6564053 commit f5ec4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/client/components/map/leaflet/Map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f5ec4f3

Please sign in to comment.