Commit Graph

164 Commits

Author SHA1 Message Date
Éric Lemoine b8356f5e2e Fix bad copy and paste in mapoptions tests 2012-09-27 15:40:58 +02:00
Éric Lemoine d2f9ebae41 Add mouseWheelZoomDelta option to MapOptions 2012-09-27 15:16:14 +02:00
Éric Lemoine 87189293b5 Make the resolution constraint configurable through map options 2012-09-27 13:36:57 +02:00
Tom Payne 65b8e0f915 Use object literals and use generic tile layer 2012-09-27 12:45:00 +02:00
Tom Payne b7def4c8c4 Clean up some lint problems in specs 2012-09-27 12:42:13 +02:00
Éric Lemoine f78cad0d77 Merge pull request #27 from elemoine/constraints
Refactoring to make constraints work at the map level
2012-09-27 01:42:45 -07:00
Tom Payne 96bd703271 s/tilesource/source/ 2012-09-27 09:36:55 +02:00
Éric Lemoine 79166dc1d6 Constraint objects moved to ol namespace from ol.interaction namespace 2012-09-27 00:10:54 +02:00
Tom Payne 290d03e76f s/store/source/ 2012-09-26 19:43:23 +02:00
Tom Payne 228e5a8dbf Move requires to end of the file to ensure tests run even if goog.require fails 2012-09-26 19:40:16 +02:00
Éric Lemoine 89f7e44478 Jasmine tests for ol.Collection 2012-09-25 12:02:28 +02:00
Tom Payne c956ab3482 Relax unit tests as PhantomJS generates the wrong result on Mac OS X 2012-09-25 11:32:31 +02:00
Éric Lemoine 116531c275 fix typo in an ol.Rectangle test 2012-09-25 10:42:07 +02:00
Éric Lemoine db904dae5c Jasmine tests for ol.Rectangle 2012-09-25 10:42:07 +02:00
Éric Lemoine 589c2a8505 Jasmine tests for ol.TileRange 2012-09-25 10:22:36 +02:00
Éric Lemoine b249b0aaa9 Jasmine tests for ol.tilestore.XYZ 2012-09-25 10:13:41 +02:00
Éric Lemoine 56e48911bf Jasmine tests for ol.TileGrid 2012-09-25 10:03:27 +02:00
Éric Lemoine 1f0d53342a Jasmine tests for ol.array 2012-09-25 00:29:23 +02:00
Éric Lemoine f0ff1faa73 fix ol.Extent tests 2012-09-25 00:18:25 +02:00
Éric Lemoine 6fab51bde0 Jasmine tests for ol.Extent 2012-09-25 00:13:28 +02:00
Éric Lemoine 92f0711404 Jasmine tests for ol.interaction.ResolutionConstraint 2012-09-25 00:02:22 +02:00
Éric Lemoine 94f2f85195 Jasmine tests for ol.TileUrlFunction 2012-09-24 23:39:50 +02:00
Éric Lemoine ec9382e760 Jasmine tests for ol.Projection 2012-09-24 23:26:49 +02:00
Éric Lemoine c2901dec73 Jasmine tests for ol.TileCoord 2012-09-24 22:56:40 +02:00
Éric Lemoine 4b015f9962 add Jasmine tests for ol.Object 2012-09-24 18:15:30 +02:00
Éric Lemoine baeddfac12 remove the old tests 2012-09-24 18:12:51 +02:00
ahocevar 78f8ed04dd Fixing typo. 2012-07-18 08:10:44 +02:00
Éric Lemoine a365b0aaf3 improvements to the drag handler tests 2012-07-13 17:44:46 +02:00
Éric Lemoine 226480af90 fix mousewheel handler tests 2012-07-13 16:20:23 +02:00
Éric Lemoine 6fd5bb8647 fix drag handler tests 2012-07-13 16:20:07 +02:00
Éric Lemoine f34aa03109 Revert "Replace the navigation control by two controls, namely DragPan and MouseWheelZoom. DragPan is the map default drag control. MouseWheelZoom is the map default mouse wheel control."
This reverts commit c2a30f4ac4.
2012-07-13 15:37:39 +02:00
Éric Lemoine dd5182c55c remove trailing spaces in tests 2012-07-13 15:37:21 +02:00
Éric Lemoine c2a30f4ac4 Replace the navigation control by two controls, namely DragPan and MouseWheelZoom. DragPan is the map default drag control. MouseWheelZoom is the map default mouse wheel control. 2012-07-13 08:57:40 +02:00
ahocevar f4532f1548 Completing tests for map handlers. 2012-07-12 23:48:13 +02:00
Éric Lemoine d73410a9b3 add a click handler 2012-07-11 17:45:32 +02:00
Éric Lemoine da11a8c34d add ol.ENABLE_DRAG_HANDLER and ol.ENABLE_MOUSEWHEEL_HANDLER @defines, and pass a an object to the handlers for sharing states 2012-07-11 17:43:42 +02:00
Éric Lemoine 82b5a59647 remove ol.event entirely 2012-07-09 21:34:47 +02:00
Éric Lemoine e4ff1a7574 ol.Tile inherits from goog.events.EventTarget 2012-07-09 21:33:08 +02:00
Éric Lemoine 7c7cd08494 base tests for ol.handler.Drag and ol.handler.MouseWheel 2012-07-09 21:09:09 +02:00
Tim Schaub 1dd2512765 Specs for getting tile coords. 2012-07-09 01:15:56 -06:00
ahocevar d76eea8ac4 Fixing tests. 2012-07-09 08:26:25 +02:00
ahocevar b7c8486289 Testing Control.js. 2012-06-26 00:18:29 +02:00
ahocevar 56542de1f3 More Events.js tests. 2012-06-26 00:00:36 +02:00
Marc Jansen 1d12c1b5d8 Better test description. 2012-06-25 23:23:42 +02:00
Marc Jansen f477fd8ced Allow multi* geometries in Collections/collections. 2012-06-25 23:19:25 +02:00
Marc Jansen 29b684f916 Correct the formatPoint test to use API methods. 2012-06-25 23:03:01 +02:00
Marc Jansen 7eef78ed4c Add geom/multilinestring classes and tests. 2012-06-25 22:44:42 +02:00
Marc Jansen f2577bbf12 Correct test for remove method. 2012-06-25 22:43:22 +02:00
Marc Jansen 6d84d4d3a1 Add geom/MultiLineString classes and tests. 2012-06-25 21:36:17 +02:00
Éric Lemoine 192caa1c65 [ol.layer.TileLayer] do not load tiles outside the layer's extent 2012-06-24 22:25:01 +02:00