Skip to content
Snippets Groups Projects

feat(vector-map): restore old map extent

Merged Miłosz Grocholewski requested to merge feat/MIN-114-stop-zoom-out-revert into development
18 files
+ 327
106
Compare changes
  • Side-by-side
  • Inline
Files
18
@@ -54,8 +54,7 @@ export const onMapLeftClick =
const featureZIndex = feature.get('zIndex');
if (
(isFeatureFilledCompartment(feature) || isFeatureNotCompartment(feature)) &&
(featureZIndex === undefined || featureZIndex >= 0) &&
!feature.get('hidden')
(featureZIndex === undefined || featureZIndex >= 0)
) {
featureAtPixel = feature;
return true;
Loading