Commit Graph

1795 Commits

Author SHA1 Message Date
Andreas Hocevar
d5e5628fe1 Add some tests 2015-04-18 19:10:54 +02:00
Bart van den Eijnden
8f0d6a6382 No need to quote object properties in tests 2015-04-17 21:56:40 +02:00
Tim Schaub
857baaa7e6 Merge pull request #3575 from nd0ut/master
Check proj equivalence by code.
2015-04-17 13:55:29 -06:00
Bart van den Eijnden
a438ffb280 Add full support for XYM and XYZM layouts 2015-04-17 18:36:16 +02:00
Bart van den Eijnden
db8c6ef1b4 Write support for Esri JSON 2015-04-17 18:36:16 +02:00
Bart van den Eijnden
93c524baa0 Esri JSON read support 2015-04-17 18:36:16 +02:00
Tim Schaub
13e40fb98c Merge pull request #3550 from tschaub/fewer-differences
Reduce differences between the rendering test runner and the standard test runner.
2015-04-17 10:16:00 -06:00
nd0ut
12e817e408 Check projections equivalence also by their code
Method ol.proj.equivalent used only reference equality check ===
That doesn't work for basic checks of two strongly equal projections
For example, `EPSG:4326` and `EPSG:4326`
In this case method searches similar proj in ol.proj.transforms_ mapping
And it finds it if proj is default and not custom
But in case of custom proj `EPSG:3413` it doesn't find it
2015-04-17 14:36:37 +03:00
Bart van den Eijnden
4306ecbb8d Merge pull request #3573 from gberaudo/interaction_dispatch_order
Modify draw interaction dispatch order
2015-04-16 19:05:41 +02:00
Guillaume Beraudo
c0c7b71af6 Add draw interaction test case 2015-04-16 17:44:45 +02:00
Andreas Hocevar
4cad17f839 Do not return a null tileSize 2015-04-16 15:32:35 +02:00
Andreas Hocevar
ab9846ff24 Merge pull request #3559 from ahocevar/tile-width-height
Add support for non-square tiles
2015-04-16 09:26:27 +02:00
Frederic Junod
dd8a4c355b Add more proj4js integration tests 2015-04-15 08:58:07 +02:00
Andreas Hocevar
2b75341068 Add support for non-square tiles 2015-04-14 22:54:57 +02:00
Marc Jansen
eca09cba1d Add basic test for ol.tilegrid.Zoomify 2015-04-13 21:13:27 +02:00
Marc Jansen
b5c9f5e8b3 Add basic test for ol.Overlay 2015-04-13 21:13:27 +02:00
Marc Jansen
33788ddfd9 Add basic test for ol.layer.Heatmap 2015-04-13 21:13:27 +02:00
Marc Jansen
e283d6f54a Add basic test for ol.interaction.Snap 2015-04-13 21:13:27 +02:00
Marc Jansen
3e4d6f0b02 Add basic test for ol.interaction.DragRotateAndZoom 2015-04-13 21:13:27 +02:00
Marc Jansen
2609023a40 Add basic test for ol.interaction.DragAndDrop 2015-04-13 21:13:27 +02:00
Marc Jansen
6d53a91e3a Add tests for ol.ImageUrlFunction 2015-04-13 21:13:27 +02:00
Marc Jansen
bfefc0666b Add basic test for ol.Geolocation 2015-04-13 21:13:27 +02:00
Marc Jansen
05f3f6852d Add basic test for ol.format.BinaryFeature 2015-04-13 21:13:27 +02:00
Marc Jansen
248d3071a3 Add basic test for ol.DeviceOrientation 2015-04-13 21:13:27 +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
Marc Jansen
a26f2a78eb Add basic test for ol.binary.Buffer 2015-04-13 21:13:26 +02:00
Tim Schaub
401ab6e829 Keep custom test logic in one place 2015-04-13 08:45:27 -06:00
Tim Schaub
129ed0a6c5 Append directly to the document body 2015-04-13 08:40:40 -06:00
Éric Lemoine
e636119c93 Merge pull request #3448 from elemoine/webgl-image-retina
Fix WebGL image layer rendering on retina displays
2015-04-13 11:16:53 +02:00
Éric Lemoine
c40f84d4a7 Add test for ol.source.Vector#loadFeatures 2015-04-08 10:22:56 +02:00
Éric Lemoine
c3658de75a Make addFeature(s) ignore features with same id 2015-04-08 10:22:56 +02:00
Éric Lemoine
09b90c8424 Add loader and strategy to ol.source.Vector 2015-04-08 10:22:56 +02:00
Éric Lemoine
e86fd4afd4 Get rid of disliked vector classes 2015-04-07 17:36:57 +02:00
Tim Schaub
5a7d1f3ba1 Merge pull request #3472 from tschaub/unbound
Remove the experimental bindTo method from ol.Object.
2015-04-07 09:29:53 -06:00
Frederic Junod
a77c4ec6c5 Remove layerGroup.setLayers(null) test
Since 96f7d6323a, the `layers` parameter to `ol.layer.Group#setLayers` can't be `null`.
2015-04-07 17:08:12 +02:00
Tim Schaub
e1079ab9a3 Improve overview map handling of map and view changes 2015-04-07 08:35:48 -06:00
Tim Schaub
f42c0cb0aa Remove 2-way binding from objects 2015-04-07 08:35:47 -06:00
Éric Lemoine
e45c44fa01 Add missing goog.provide's 2015-04-07 13:49:36 +02:00
Pierre GIRAUD
5843654650 Merge pull request #3509 from pgiraud/geometry_changed_null
Dispatch change event even when geometry is set to null
2015-04-07 12:39:48 +02:00
Pierre GIRAUD
d27d59f445 Use sinon.spy to ensure change event is dispatched 2015-04-07 12:21:01 +02:00
Éric Lemoine
9ce3bc7f3d Fix WebGL image layer rendering on retina displays
This commit takes the device pixel ratio into account when calculating the matrix used to apply the image to the output canvas.
2015-04-07 12:13:16 +02:00
Pierre GIRAUD
5eb13660d3 Dispatch change event even when geometry is set to null 2015-04-07 12:12:07 +02:00
Andreas Watermeyer
c530f872f9 #3328 - GML3: Writing features with multiple geometries 2015-04-07 10:32:26 +02:00
Tobias Sauerwein
c36c67779e Merge pull request #3470 from tsauerwein/rendering-tests
Add rendering tests
2015-04-06 13:49:51 +02:00
tsauerwein
f99196c466 Fix failing test 2015-04-06 13:36:43 +02:00
tsauerwein
c0a23dc818 Add first rendering tests 2015-04-06 13:36:35 +02:00
tsauerwein
8e0c21eb58 Add test-suite using SlimerJS 2015-04-04 17:30:38 +02:00