Skip to content

Visually disabled zoom control buttons showing wrong state for basemaps with different max zoom levels #1328

@seyfro

Description

@seyfro

With v0.5 the following feature was introduced:

  • Improved zoom control buttons to become visually disabled when min/max zoom is reached

This works fine when multiple basemaps are used which all have the same max zoom level. I found one small issue - following scenario:
Basemap A, max-level 18
Basemap B, max-level 17
->User selected basemap A and zooms to level 18, then switches to basemap B.
Result: zoom level decreases back to 17 (new with 0.5 which is great BTW ;-), but zoom control button is still visually disabled, although + can be clicked one more time.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions