Marc Jansen
a29e7027ca
Correct assertion message in binarySearch-test
2016-02-03 14:50:33 +01:00
Andreas Hocevar
00116b7c74
Merge pull request #4711 from ahocevar/no-goog-events
...
Removal of goog.events.*
2016-02-03 14:05:32 +01:00
Guillaume Beraudo
42df157a04
Add test for URL template expansion
2016-02-03 12:49:12 +01:00
Andreas Hocevar
7a8d15fe47
Use more consistent variable names and reduce findListener_ calls
2016-02-03 11:19:38 +01:00
Tim Schaub
f10c90bdba
Simpler type for ol.events.Key
...
Instead of having `ol.events.Key` be a listener object or an array of listener objects, it should be less error prone to have it just be a single listener object.
To avoid using too many functions with multiple return types, the `ol.events.*` functions for registering and unregistering listeners no longer accept an array of event types (and only a single key is returned when registering).
To make it convenient for users to register multiple listeners at once, the `observable.on()` method accepts an array of event types. Internally in the library, we should use the less risky `ol.events.listen()`.
2016-02-03 11:19:38 +01:00
Andreas Hocevar
78f44dcc8a
Improve XHR and ol.net.jsonp result/failure handling
2016-02-03 11:19:38 +01:00
Tim Schaub
c62e76ab67
Remove support for useCapture
2016-02-03 11:19:38 +01:00
Tim Schaub
80df1f5ae8
Move opt_useCapture arg to the end of the list
2016-02-03 11:19:38 +01:00
Andreas Hocevar
dc0393acff
Add map tests for resize and animationDelay
2016-02-03 11:19:38 +01:00
Andreas Hocevar
73f5e11039
Add tests for ol.control.ZoomSlider
2016-02-03 11:19:38 +01:00
Andreas Hocevar
ac1d7572e4
Add tests for scroll zoom
2016-02-03 11:19:38 +01:00
Andreas Hocevar
ec6f2e575b
Add tests for keyboard pan and zoom
2016-02-03 11:19:38 +01:00
Andreas Hocevar
8b171d3ca6
Add tests for file dragging
2016-02-03 11:19:38 +01:00
Andreas Hocevar
136c8af878
Add tests and documentation for ol.net.jsonp
...
ol.net.Jsonp was renamed to ol.net.jsonp, because it is not a constructor.
2016-02-03 11:19:38 +01:00
Andreas Hocevar
8d0ef13505
Add tests and documentation for goog.events.*
2016-02-03 11:19:38 +01:00
Andreas Hocevar
cf4556f115
Add tests and documentation for ol.events.Event
2016-02-03 11:19:38 +01:00
Andreas Hocevar
5ba8b13ccf
Add tests and documentation of ol.events.EventTarget
2016-02-03 11:19:38 +01:00
Andreas Hocevar
c51d717657
Refactor event manager to remove memory leaks
2016-02-03 11:19:38 +01:00
Andreas Hocevar
f35d0106b8
Remove goog.net.* and goog.async.AnimationDelay
2016-02-03 11:19:38 +01:00
Andreas Hocevar
2b451e7893
Remove goog.dom.ViewportSizeMonitor
2016-02-03 11:19:38 +01:00
Andreas Hocevar
7e27ba1d42
Remove goog.fx.Dragger
2016-02-03 11:19:38 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Andreas Hocevar
ebc98ec1bb
Address TODOs
...
To make sure that our binarySearch implementation meets the requirements of
the library, I added more tests for ol.geom.flat.interpolate.lineString, only
to find out that it does not handle line strings with repeated vertices
properly, regardless of what binarySearch implementation is used.
2016-02-03 11:41:41 +13:00
Marc Jansen
6586c7f007
Add tests stubs
2016-02-03 11:41:41 +13:00
Marc Jansen
665fdbdc2b
Add tests for ol.array.extend
2016-02-03 11:41:41 +13:00
Marc Jansen
57f4d8cefb
Add tests for ol.array.equals
2016-02-03 11:41:40 +13:00
Marc Jansen
31e1fbaf40
Add tests for ol.array.binarySearch
2016-02-03 11:41:40 +13:00
Marc Jansen
4b17721a33
Sort tested methods alphabetically
2016-02-03 11:41:40 +13:00
Andreas Hocevar
39b9ba87fc
Merge pull request #4736 from ahocevar/fix-select
...
Properly detect feature on unmanaged layer for toggle selection
2016-02-02 08:58:16 +01:00
Andreas Hocevar
ecb2a42900
Properly detect feature on unmanaged layer for toggle selection
2016-01-30 18:13:48 +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
Andreas Hocevar
483376deb2
Untangle vector tile feature reprojection
2016-01-27 00:42:51 +01:00
Alexandre Dubé
906a132e89
Add layerName option for WMSGetFeatureInfo format
...
This option allows the format to read only features of a
given layer. This is useful if you wish to make a single
query to a WMS server with multiple layers in it.
2016-01-21 10:54:26 -05:00
Frederic Junod
aec4e468e3
Add rotateWithView option to ol.style.RegularShape
2016-01-21 11:09:20 +01:00
Andreas Hocevar
86c7f950d6
Add setUrl tests
2016-01-19 13:40:47 +01:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
8d80924ba8
Remove gjslint.py
2016-01-11 22:03:12 -08:00
Tim Schaub
534124ec2f
Lint free rendering tests
2016-01-11 18:56:09 -08:00
Tim Schaub
0555bb081a
Test indentation
2016-01-11 18:56:09 -08:00
Tim Schaub
4e0cddcb41
Lint-free tests
2016-01-11 18:56:07 -08:00
Tim Schaub
cca86886f1
Define variables before use
2016-01-11 18:56:07 -08:00
Tim Schaub
3602a37c96
Remove this commit with ESLint 2.0
2016-01-11 18:56:07 -08:00
Tim Schaub
f627f7679b
Valid JSDoc annotations
2016-01-11 18:56:07 -08:00
Tim Schaub
154b8babc4
Allow console use in Phantom
2016-01-11 18:56:07 -08:00
Tim Schaub
3f23dfb87b
Indentation
2016-01-11 18:56:07 -08:00
Tim Schaub
aac1d921c7
Unused variables
2016-01-11 18:56:07 -08:00
Tim Schaub
179b241aec
Declare variables before assignment
2016-01-11 18:56:07 -08:00
Tim Schaub
f0fc4d4e73
Curly brace spacing
2016-01-11 18:56:06 -08:00
Tim Schaub
9ae748408a
Statement inside curly braces on its own line
2016-01-11 18:56:06 -08:00