Commit Graph

437 Commits

Author SHA1 Message Date
ahocevar caaec7c366 Use the map's zoom method instead of our own
This also allows us to get rid of the resolutions constraint and configuration.
2012-09-27 12:05:53 +02:00
Éric Lemoine 25e00e5d74 Add FIXME to control/zoom.js 2012-09-27 00:10:54 +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
ahocevar e390ff80ea Adding zoom control 2012-09-26 18:27:45 +02:00
ahocevar c7a32b33da Fixing indentation 2012-09-26 15:11:47 +02:00
ahocevar 78c380c9a5 Type cast to make the compiler happy 2012-09-26 15:05:52 +02:00
ahocevar fa16adec02 Making more use of Closure 2012-09-26 14:38:29 +02:00
ahocevar 3bd204fb6a DragBox control provides visual shiftdragzoom feedback
Adding a new DragBox control and using it in the shiftdragzoom interaction to provide visual feedback of the zoom box. The control is nicely separated from the interaction - it only draws the box and does not perform any action.
2012-09-26 12:50:14 +02:00
Tom Payne c43e04ea77 Refactor to support stricter new compiler 2012-09-25 00:03:53 +02:00
Tom Payne 8394147df1 Satisfy gjslint 2012-09-24 21:25:29 +02:00
ahocevar 002e23cb74 Satisfy latest Closure library/tools. 2012-09-24 17:59:34 +02:00
Tim Schaub ed754fbfdf Control in the ol.control namespace. 2012-09-24 17:15:30 +02:00
Tim Schaub 1f9e2aa3c4 Move Layer into ol.layer namespace. 2012-09-24 17:08:36 +02:00
Tom Payne f8c31ba45c s/ol3/ol/ 2012-09-24 14:21:41 +02:00
Tom Payne 4aff22e980 ol3 is now internal, ol is now external
As discussed with @ahocevar, @elemoine and @tschaub.
2012-08-29 20:46:42 +02:00
Éric Lemoine 83994081b5 mouseposition listens to mousemove and mouseout on map viewport 2012-08-20 21:51:23 +02:00
Tom Payne 44cd3ceccb Re-order functions alphabetically 2012-08-16 17:56:19 +02:00
Tom Payne 4f2b6a0c22 Initialize all member variables in constructor 2012-08-16 16:42:56 +02:00
Tom Payne d9eb9eda60 Add missing check 2012-08-13 21:31:41 +02:00
Tom Payne 5ae3d25f52 Add some FIXMEs 2012-08-13 17:24:31 +02:00
Tom Payne e9e1b8eaa9 Improve handling of undefined coordinates 2012-08-13 17:24:25 +02:00
Tom Payne 85ca630935 Add ol.control.MousePosition 2012-08-13 16:45:10 +02:00
Tom Payne ec3475806e s/View/Control/, thanks @elemoine 2012-08-13 16:45:10 +02:00
Tom Payne 208db33bfc s/Control/Interaction/, thanks @elemoine 2012-08-13 16:45:10 +02:00
Tom Payne eab38e9042 Use Alt key instead of Shift for rotation 2012-08-07 17:20:42 +02:00
Tom Payne 49dc2788d5 Add ol.control.Keyboard hack 2012-08-07 14:59:39 +02:00
Tom Payne 0edb85f159 Clean up whitespace 2012-08-06 09:59:33 +02:00
Tom Payne d62f776be5 Fix zoom to anchor 2012-08-06 09:14:28 +02:00
Tom Payne aad50aa8a4 Add ol.control.ResolutionConstraint.createContinuous 2012-08-06 01:14:25 +02:00
Tom Payne 17c68a18fc Fix typo 2012-08-06 01:14:25 +02:00
Tom Payne 051175ea68 Add another FIXME 2012-08-04 16:53:48 +02:00
Tom Payne b7e7a9b3ba Add zoom to/from anchor 2012-08-04 16:53:48 +02:00
Tom Payne 97eabc8693 Parameterize pixel delta 2012-08-04 15:51:35 +02:00
Tom Payne 7ab3b3dd82 Add rotation constraints 2012-08-04 15:51:35 +02:00
Tom Payne 0fd122a1ed Add and use ol.Constraints 2012-08-04 15:51:35 +02:00
Tom Payne e7cb2ca383 s/ZoomFunction/ResolutionConstraint/ 2012-08-04 15:51:35 +02:00
Tom Payne c84d5ef9ef Use ol.control.CenterConstraint 2012-08-04 15:51:34 +02:00
Tom Payne 1f72319b05 Add ol.control.CenterConstraint 2012-08-04 15:51:34 +02:00
Tom Payne 95371b596e Use ol.control.ZoomFunction 2012-07-30 15:09:50 +02:00
Tom Payne 187da7767f Add ol.control.ZoomFunction 2012-07-30 15:09:50 +02:00
Tom Payne f39a09807b Update FIXMEs 2012-07-30 00:35:07 +02:00
Tom Payne 74dd45f856 Add ultra-sexy RotateAndZoom control 2012-07-30 00:30:28 +02:00
Tom Payne 8b900c7822 Add ol.control.ShiftDragRotate 2012-07-30 00:09:47 +02:00
Tom Payne 2f32158374 Rename ol.control.DragZoom to ol.control.ShiftDragZoom 2012-07-29 17:17:49 +02:00
Tom Payne a8664df76b Make ol.Map.isDef stricter 2012-07-29 17:09:32 +02:00
Tom Payne 228547d0fe Add ol.Map.isDef 2012-07-24 20:47:34 +02:00
Éric Lemoine 6d28ad2740 use goog.fx.Dragger for map drag 2012-07-23 23:26:48 +02:00
Tom Payne 269bd9387e Rename freeze/thaw to freezeRendering/unfreezeRendering 2012-07-22 22:37:43 +02:00
Tom Payne 5aa01a4b6b Add ol.control.KeyboardZoom 2012-07-22 14:54:17 +02:00