Marc Jansen
73a04c14f5
Add more tests for the scaleline control
2016-04-28 10:04:52 +02:00
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
Frederic Junod
25f5776d8e
Remove use of goog.dom.getParentElement
2016-02-15 17:13:04 +01:00
Frederic Junod
296ec9799f
Remove use of goog.dom.createDom
2016-02-15 16:40:07 +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
Frederic Junod
2b523fff7c
Add tests for ol.control.Zoom
2016-01-27 15:46:06 +01:00
Frederic Junod
e53d8226db
Add tests for ol.control.Rotate
2016-01-27 15:46:06 +01:00
Tim Schaub
3f23dfb87b
Indentation
2016-01-11 18:56:07 -08:00
Marc Jansen
9386415633
Remove usage of goog.dom.TagName enum
2015-10-12 20:45:49 +02: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
Marc Jansen
481869bea6
Add basic test for ol.control.ZoomToExtent
2015-04-13 21:13:27 +02:00
Marc Jansen
d14daa1938
Add basic test for ol.control.ScaleLine
2015-04-13 21:13:27 +02:00
Marc Jansen
479e723f0e
Add basic test for ol.control.MousePosition
2015-04-13 21:13:27 +02:00
Marc Jansen
29124a3dad
Add basic test for ol.control.FullScreen
2015-04-13 21:13:27 +02:00
Tim Schaub
e1079ab9a3
Improve overview map handling of map and view changes
2015-04-07 08:35:48 -06:00
Tim Schaub
4b57f7798f
Use goog.dom.classlist functions
...
The goog.dom.classes functions have now been deprecated. See 97e8a0c0fc
2014-07-01 14:09:28 -04:00
Bart van den Eijnden
2fc884a3d9
simplify the assignment of this.target_
2014-01-27 15:22:25 +01:00
Bart van den Eijnden
e6c4fd973a
allow target to be specified as a string for controls, update the documentation to make more clear what element and target are for
2014-01-27 15:22:25 +01: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
c2e1623529
Fix use of dispose in ol.control tests
2013-04-22 17:16:22 +02:00
Tom Payne
9f0004e17d
Rename test files to match source files
2013-04-16 19:59:53 +02:00
Éric Lemoine
516f21eb17
Make ZoomSlider use View2D value/resolution funcs
2013-04-08 12:51:14 +02:00
Tom Payne
4be8c991f7
Add missing Closure Library requires
2013-04-06 14:28:12 +02:00
Tim Schaub
27ccd13e48
Create test specific markup in tests
...
Instead of relying on a shared dom structure, the tests should create (and destroy) elements as needed.
2013-03-18 22:53:04 -06:00
Tim Schaub
fad57a0fe5
Clarifying which var is accesed
...
This test creates its own zoomslider and doesn't access the one from the closure.
2013-03-18 21:52:01 -06:00
Tim Schaub
928457e174
Correcting test semantics
...
Despite what the test comment says, the orientation of this slider is horizontal.
2013-03-18 21:50:00 -06:00
Bruno Binet
81089b2199
Remove unused goog.require directives
2013-03-14 12:39:51 +01:00
Marc Jansen
5059fe0be7
Adjust test syntax.
2013-03-14 11:31:58 +01:00
Marc Jansen
ce67625b20
Use OSM resolutions as fallback resolutions.
...
Hat tip to @twpayne for suggesting this change in the defaults.
2013-03-14 09:37:35 +01:00
Marc Jansen
8bf71ebb3a
Add a zoomslider control.
2013-03-14 09:37:35 +01:00
Tobias Bieniek
89ab68cde7
Replaced jasmine testing framework by mocha, expect.js and sinon
...
as discussed in #319
2013-03-13 04:32:43 +01:00
Éric Lemoine
b6ed5f2164
Use namespaces for tests
...
With this commit test files provide namespaces (using goog.provide). This fixes the issue reported by @bartvde where goog objects cannot be used in Jasmine "describe" functions. It also frees us from having to add script tags for the test files in test/ol.html.
2013-01-31 10:18:21 +01:00
Éric Lemoine
f49f370857
Make linter happy
2012-10-11 18:09:18 +02:00
Éric Lemoine
2a76a23b6f
Add tests for ol.control.Control
2012-10-11 17:46:47 +02:00
Éric Lemoine
baeddfac12
remove the old tests
2012-09-24 18:12:51 +02:00
ahocevar
b7c8486289
Testing Control.js.
2012-06-26 00:18:29 +02:00