Skip to content
Snippets Groups Projects
Commit 4692c11c authored by mateusz-winiarczyk's avatar mateusz-winiarczyk
Browse files

Merge branch 'MIN-243-map-jumping-zoom' into 'development'

fix(map): fix jumping zoom

See merge request !120
parents 0b9e9c72 89071f57
No related branches found
No related tags found
2 merge requests!223reset the pin numbers before search results are fetch (so the results will be...,!120fix(map): fix jumping zoom
Pipeline #85289 passed
...@@ -50,7 +50,7 @@ describe('onMapPositionChange - util', () => { ...@@ -50,7 +50,7 @@ describe('onMapPositionChange - util', () => {
{ {
x: 1479, x: 1479,
y: 581, y: 581,
z: 7, z: 6.68620779943448,
}, },
], ],
]; ];
......
...@@ -18,7 +18,7 @@ export const onMapPositionChange = ...@@ -18,7 +18,7 @@ export const onMapPositionChange =
setMapPosition({ setMapPosition({
x, x,
y, y,
z: Math.round(zoom), z: zoom,
}), }),
); );
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment