Scales the ZoomSlider to match the Zoom in/out controls in a .ol-touch map
Does the zoom slider actually work on touch devices? I thought it did not.
Heh, I didn't try. What I do know is that IE 10+ appears to be reporting itself as being touch compatible, regardless of the device it is running on, so OL adds the ol-touch class to the map container. This means the zoom in/out buttons are enlarged, but the zoom slider is left at the standard size, which looks a little off. These style changes just fix that case.
see also #991
see also #991
This is exactly what this PR fixes. Here's a screenshot from IE 11 with the updated styles:
Right, that's why I put in the reference. Nice work! And thanks.
Are there any objections to merging this one?
Not from me, although I am not able to test it at the moment.
I'll test it out before merging
@austinhyde can you please rebase this one?
Done, have at it!
This is now relatively broken since the changes to zoom controls. We'll fix and update.
Add styles for .ol-touch .ol-zoomslider
Fix zoomslider controls to match zoom controls more closely
Update the zoomslider example to have better styling for touch devices
Update zoomslider custom styling to match control styling changes
Styling should be all up to date now and ready to merge. Everything looks good in all browsers, even IE8!
Any reasons for not merging this? Can anyone test?
I'll check this.
This is looking fine in IE11 on Win 8.1, FF 28 and Chrome 33 (both on Linux).
On IE 9 (Win 7) this sort-of works, but that browser would definitely need more love with regard to CSS (see below). This is most probably not introduced here, so nothing is stopping this from being merged.
Thanks @austinhyde & @simxpgh.