Commit Graph
100 Commits
Author SHA1 Message Date
Éric Lemoine 79166dc1d6 Constraint objects moved to ol namespace from ol.interaction namespace 2012-09-27 00:10:54 +02:00
Éric Lemoine b6bb05bf76 Refactoring to set the constraints to the map 2012-09-27 00:09:29 +02:00
Éric Lemoine 019bc09cea Update readme.md 2012-09-25 16:41:54 +02:00
Éric Lemoine 745c906846 Run Travis builds for any branch 2012-09-25 16:23:42 +02:00
Éric Lemoine 95d2cac09f Add Travis config file 2012-09-25 16:07:07 +02:00
Éric Lemoine 4a6b13ed39 Add a download plovr target to Makefile 2012-09-25 16:06:37 +02:00
Éric Lemoine 0130915f00 Makefile - clean target adjustments 2012-09-25 15:38:09 +02:00
Éric Lemoine e3de55e7cb Makefile - serve target needs build/ol-all.js as a source 2012-09-25 15:37:13 +02:00
Éric Lemoine 629687586f Simplify and clean up the test page 2012-09-25 13:53:11 +02:00
Éric Lemoine b4416e71c4 better nosier command 2012-09-25 12:04:57 +02:00
Éric Lemoine 3e01ca97c3 remove the jsunit tests 2012-09-25 12:03:36 +02:00
Éric Lemoine 89f7e44478 Jasmine tests for ol.Collection 2012-09-25 12:02:28 +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 27d3a88413 add FIXMEs for test runner 2012-09-25 00:47:02 +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 30dfbfb8b7 mention nosier in test/readme.md 2012-09-24 23:31:57 +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 2aac0140c1 add a test target to Makefile 2012-09-24 22:34:09 +02:00
Éric Lemoine fbaefeea7c give the test dir a specific readme file 2012-09-24 22:34:09 +02:00
Éric Lemoine 1f457fc919 add ConsoleReporter to Jasmine Env (for headless testing) 2012-09-24 22:34:09 +02:00
Éric Lemoine 92dca8584c add phantom-jasmine 2012-09-24 22:34:08 +02:00
Éric Lemoine 5d88994a9a remove test/api.html 2012-09-24 22:34:08 +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
Éric Lemoine cb6c73d99f MapBrowserEvent.getCoordinate may return wrong coords 2012-08-27 11:51:39 +02:00
Éric Lemoine d0ffc6186d remove FIXMEs 2012-08-22 10:33:30 +02:00
Éric Lemoine e0a6f3aeeb remove ol.TWO_LAYERS_DEMO_ENABLE_DOM from two-layers example 2012-08-21 21:24:12 +02:00
Éric Lemoine 3afe799cf3 dom.LayerRenderer.handleLayerLoad addition 2012-08-21 21:23:45 +02:00
Éric Lemoine 95a2b3845c map renderer should call map.render instead of this.render 2012-08-21 06:55:57 +02:00
Éric Lemoine 042893a817 enable DOM in two-layers example 2012-08-21 06:55:21 +02:00
Éric Lemoine 0fd6629459 map renderer should not render if map is not defined 2012-08-21 06:54:42 +02:00
Éric Lemoine 83994081b5 mouseposition listens to mousemove and mouseout on map viewport 2012-08-20 21:51:23 +02:00
Éric Lemoine d0572c081e webgl canvas element does not need overflow:hidden 2012-08-20 21:50:24 +02:00
Éric Lemoine 21ae6d1be3 DOM map renderer no longer need a viewport 2012-08-20 21:49:40 +02:00
Éric Lemoine a610413811 map renderer target is now map renderer container 2012-08-20 21:48:30 +02:00
Éric Lemoine a9706cd84b Map.handleViewportResize renamed handleBrowserWindowResize 2012-08-20 21:44:57 +02:00
Éric Lemoine 66d4d199b4 map target is now map container 2012-08-20 21:44:29 +02:00
Éric Lemoine ca2b6e4189 map has a viewport 2012-08-20 21:41:44 +02:00
Éric Lemoine 189b43ad4a two-layers example - do not add layers twice 2012-08-17 22:17:06 +02:00
Éric Lemoine 5096964ec2 use setExtent to set extent of TileJSON tile store 2012-08-17 22:07:54 +02:00
Éric Lemoine adb209c3f9 map functions in alphabetical order 2012-08-16 16:14:16 +02:00
Éric Lemoine 70587af947 move pixel to/from coordinate calculation functions from Map to MapRenderer 2012-08-16 15:35:33 +02:00
Éric Lemoine 9eb031ed89 remove ol.webgl.LayerRenderer.prototype.getGL (as suggest by @twpayne) 2012-08-16 15:04:23 +02:00
Éric Lemoine 89eadc5770 move back rendering freeze/unfreeze and animation from map renderer to map 2012-08-16 15:00:14 +02:00
Éric Lemoine f7185f1c75 remove map FIXME 2012-08-16 14:57:42 +02:00
Éric Lemoine af63654776 Merge remote branch 'upstream/exp' into renderer 2012-08-14 21:19:46 +02:00
Éric Lemoine d9b51cdc7f fix typo in API doc 2012-08-14 10:24:30 +02:00
Éric Lemoine 0f401a2d51 forEach cannot iterate over a null object 2012-08-14 10:24:12 +02:00
Éric Lemoine 9f5b98e70c remove split out renderer FIXME 2012-08-14 10:23:06 +02:00
Éric Lemoine da9de171d2 exit renderer hint for loop when map renderer is found 2012-08-14 10:22:46 +02:00
Éric Lemoine 85c8dddc02 add a FIXME 2012-08-14 07:48:13 +02:00
Éric Lemoine e7696dd6aa map renderer unregisters listeners on dispose 2012-08-14 07:44:25 +02:00
Éric Lemoine f0ecf858c8 better type 2012-08-14 07:35:24 +02:00
Éric Lemoine 7be8a735fa better code (thanks @twpayne) 2012-08-14 07:26:43 +02:00
Éric Lemoine 6f0ae684f7 fix linter errors 2012-08-14 07:15:54 +02:00
Éric Lemoine 9efa34a2a3 separate map and renderer 2012-08-13 23:38:37 +02:00
Éric Lemoine 8a8a9a8c9a add map FIXMES 2012-07-23 23:27:03 +02:00
Éric Lemoine 6d28ad2740 use goog.fx.Dragger for map drag 2012-07-23 23:26:48 +02:00
Éric Lemoine 75c7bee6d9 update readme.md 2012-07-22 13:48:57 +02:00
Éric Lemoine 089f069456 finish porting tschaub's infinite zooming work 2012-07-21 23:53:51 +02:00
Éric Lemoine 014c5e8905 refactoring, and renamings in tilegrid.js (related to continous zooming) 2012-07-21 23:52:56 +02:00
Éric Lemoine 753ebab2ad Revert "add TileLayerRenderer.getPreferredZ_ plus tests". As noted by @twpayne, TileGrid.getZForResolution already returns the "preferred" z for an arbitrary resolution.
This reverts commit 8f5d0ac642.
2012-07-21 16:00:45 +02:00
Éric Lemoine c723e719c6 use ol instead of goog.math 2012-07-19 23:36:16 +02:00
Éric Lemoine 8f5d0ac642 add TileLayerRenderer.getPreferredZ_ plus tests 2012-07-19 23:28:35 +02:00
Éric Lemoine 404d123623 add TileGrid getTileCoordForArbitraryResolution and getTileCoordPixelBoundsForArbitraryResolution + tests, based on @tschaub work 2012-07-19 17:48:39 +02:00
Éric Lemoine 45c067dfda add ol.PixelBounds 2012-07-19 17:47:34 +02:00
Éric Lemoine 62f3f46b51 fix compilation - private property cannot be used in subclasses 2012-07-19 00:00:23 +02:00
Éric Lemoine db91206d41 code styling 2012-07-18 20:27:38 +02:00
Éric Lemoine 7fc82daafa dom layer renderer - support opacity and visibility change 2012-07-18 16:33:27 +02:00
Éric Lemoine b53e5a3fda two maps in the skeleton example 2012-07-18 16:33:27 +02:00
Éric Lemoine 1af79ede29 dom map renderer - add FIXMEs 2012-07-18 14:52:12 +02:00
Éric Lemoine 3724fca57d dom map renderer - new properties for layerPane 2012-07-18 14:50:34 +02:00
Éric Lemoine a9438fefd9 make gjslint happy 2012-07-18 14:50:01 +02:00
Éric Lemoine 6d61ac2bc5 dom map renderer - map shiftLayersPane_ work 2012-07-18 14:49:30 +02:00
Éric Lemoine 808a854d0f dom map renderer - add a viewport div to the top of hierarchy, this is to handle overflow of tiles 2012-07-18 14:47:41 +02:00
Éric Lemoine 1d565fc4d6 dom map renderer - use goog.asserts 2012-07-18 14:43:57 +02:00
Éric Lemoine da6263fec8 dom layer renderer - origin and setOrigin are back 2012-07-18 14:43:16 +02:00
Éric Lemoine db4603940d dom renderer - reset the layers pane when center changes 2012-07-18 11:13:32 +02:00
Éric Lemoine f491a5a4d2 setting top and left to 0 is not necessary 2012-07-18 11:12:46 +02:00
Éric Lemoine be97a57cad remove state variables from the dom map and dom layer renderers 2012-07-18 11:12:14 +02:00
Éric Lemoine b31c3f90bd initial port of @tschaub DOM renderer 2012-07-17 22:28:58 +02:00
Éric Lemoine 5b5b89819e alphabetize goog.require classes for gjslint 2012-07-17 22:13:15 +02:00
Éric Lemoine b4fea2233e remove setDefaultCenterAndResolution 2012-07-17 17:21:28 +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 1f62bd8cd6 fix typo in drag handler 2012-07-13 16:19:42 +02:00
Éric Lemoine 2b9df6442b Revert "Allow for using a different set of default behaviors."
This reverts commit 3cc069186c.
2012-07-13 15:38:06 +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