Vector features disappear when using zoom interactions

Created on 27 October 2023, about 1 year ago
Updated 30 October 2023, about 1 year ago

Problem/Motivation

On a map with a vector layer with a set of zoom levels defined, when using interactions PinchZoom, DragZoom, or MouseWheelZoom, features disappear from the map when zooming in.

Steps to reproduce

  1. Define a map with a layer based on vector source (I used Views to define the source)
  2. Add interactions to the map:
    • PinchZoom
    • DragZoom
    • MouseWheelZoom
    • KeyboardZoom
    • DoubleClickZoom
  3. On the layer, define zoom levels 13-18
  4. Open the map and try to use the mouse wheel, or draw a rectangle around area of interest to zoom into - the (initially visible) features should disappear

When using the KeyboardZoom or DoubleClickZoom interactions, zooming into the map works as intended - the features appear when entering the predefined zoom range and disappear when leaving it.

The described setup was tested on the desktop with FFox, Chrome and Safari

πŸ› Bug report
Status

RTBC

Version

3.3

Component

OL UI

Created by

πŸ‡ΈπŸ‡°Slovakia sano

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024