Skip to content

Make sure maxValue is set in ZoomSlider - #104

Open
bartvde wants to merge 1 commit into
geoext:masterfrom
bartvde:zoomslider
Open

Make sure maxValue is set in ZoomSlider#104
bartvde wants to merge 1 commit into
geoext:masterfrom
bartvde:zoomslider

Conversation

@bartvde

@bartvde bartvde commented Feb 18, 2015

Copy link
Copy Markdown
Member

Currently if minZoomLevel is set on the base layer, but maxZoomLevel is not set, this will result in the maxValue of the slider being undefined and it will not work properly anymore.

I think there is simply a typo in the current code base, see the attached PR for a fix.

@sbrunner

Copy link
Copy Markdown
Member

Looks good :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants