Commit Graph

15 Commits

Author SHA1 Message Date
nicholas 126e49cd39 Removed goog.dom.classlist.contains 2016-03-31 19:09:13 +13:00
Frederic Junod 0bb3f1e228 Reuse dragListenerKeys_ variable in ol.control.ZoomSlider 2016-03-29 16:52:28 +02:00
Tim Schaub 09eee46822 Use ol.Disposable instead of goog.Disposable 2016-03-02 15:44:07 -07:00
Tim Schaub ae4d8195c0 Remove use of goog.dispose() 2016-03-02 15:44:06 -07:00
Frederic Junod 48064306a1 Remove use of goog.math.Rect 2016-02-24 14:32:58 +01:00
Frederic Junod 9cb86df61c Use querySelectorAll instead of goog.dom.getElementsByClass 2016-02-18 10:03:38 +01:00
Andreas Hocevar 73f5e11039 Add tests for ol.control.ZoomSlider 2016-02-03 11:19:38 +01:00
Andreas Hocevar 7e27ba1d42 Remove goog.fx.Dragger 2016-02-03 11:19:38 +01:00
Tim Schaub 3f23dfb87b Indentation 2016-01-11 18:56:07 -08:00
Andreas Hocevar 61ce463cf9 Fix zoom slider width for retina displays
This also simplifies the css by using a button for the slider, like for other
controls.
2015-10-12 19:24:00 +02:00
Tim Schaub 4b57f7798f Use goog.dom.classlist functions
The goog.dom.classes functions have now been deprecated.  See https://github.com/google/closure-library/commit/97e8a0c0fc7238a56cc4dacd4a96fd4c0735b992
2014-07-01 14:09:28 -04:00
Tim Schaub b479909e25 Remove map from control options 2013-08-30 14:59:21 -06:00
Éric Lemoine ccf6aa10ac Zoomslider cannot be added to a map with no target
The zoom slider control's initSlider_ function requires that the control's element is inserted in the document. So if initSlider_ is called before the map have a target then the slider isn't correctly initialized. This commit fixes that by defering the slider initialization until the first handleMapPostrender call.
2013-07-09 10:05:15 +02:00
Tom Payne 744f72355b Fix use of dispose in ol.control.ZoomSlider tests 2013-04-22 17:16:30 +02:00
Tom Payne 9f0004e17d Rename test files to match source files 2013-04-16 19:59:53 +02:00