Skip to content

zoom to feature from feature grid does not work with points #3945

@MV88

Description

@MV88

Description

the problems is caused by this if that is too generic

we need to catch that specific use case that is generating a bounds like this [0, 0, 0, 0]

NOTE: the zoom level for points should be limited to a value near 20. Otherwise ol zooms to the maximum level (28) see

In case of Bug (otherwise remove this paragraph)

Browser Affected
(use this site: https://www.whatsmybrowser.org/ for non expert users)

  • Internet Explorer
  • Chrome
  • Firefox
  • Safari

Browser Version Affected

  • Indicate the browser version in which the issue has been found

Steps to reproduce

  • open a map with a point layer or add it via catalog
  • open feature grid
  • click on zoom to feature (first column on the left)

Expected Result

  • the map changes view and zooms to the point

Current Result

  • the map zooms in a wrong area with wrong bounds

Other useful information (optional):

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions