Éric Lemoine
927cffb2b7
Add view abstraction
2013-01-09 14:03:16 +01:00
Tom Payne
e52ec0f7a2
Fix non-view-related typecasts in interactions
2013-01-07 13:18:59 +01:00
Tom Payne
b2bb08eb81
Clarify comment
2013-01-03 18:16:16 +01:00
Tom Payne
934c75bc8c
Use requestRenderFrame API in interactions
2013-01-03 12:23:50 +01:00
Tom Payne
e5d39724c9
Give each source file a unique name
2012-10-26 11:25:26 +02:00
Éric Lemoine
49f717eae6
Merge pull request #69 from elemoine/exports-files
...
Granularize the exports
2012-10-24 13:52:56 -07:00
Tom Payne
92b13b36d9
Prevent default in double click zoom (refs #70 )
2012-10-24 16:30:44 +02:00
Éric Lemoine
d81b232587
Granularize the exports
...
This commit decomposes exports.txt into multiple, per-component, export files. This will be required for custom builds;
2012-10-20 22:31:33 +02:00
Tom Payne
8df0cfb9d9
Abstract out key conditions for interactions, fixes #51 , see also #54
2012-10-08 12:55:20 +02:00
Éric Lemoine
936a769869
Fix typo in ShiftDragZoom (caught by @ahocevar)
2012-09-29 13:47:00 +02:00
Tom Payne
3eebed4580
Add drag box in shift drag zoom control
2012-09-28 17:24:17 +02:00
Tim Schaub
ff19ab0a28
Call event.getPixel() to get the map pixel offset
...
The new getPixel method should be used instead of checking offsetX/Y on the browser event.
2012-09-28 12:19:32 +02:00
Tom Payne
fd411eb9ab
Don't create controls in interactions
2012-09-27 16:34:39 +02:00
Éric Lemoine
0535a31bc6
Add zoomDelta option to MapOptions
2012-09-27 15:48:04 +02:00
Éric Lemoine
d2f9ebae41
Add mouseWheelZoomDelta option to MapOptions
2012-09-27 15:16:14 +02:00
Éric Lemoine
cf20fd3e49
Replace map.zoomIn and map.zoomOut by map.zoom(delta)
2012-09-27 09:37:19 +02:00
É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
ahocevar
4257f5c7c6
Removing unneeded preventDefault calls
2012-09-26 18:26:11 +02:00
ahocevar
bdd8a75123
Remove the box also if we don't zoom
2012-09-26 13:03:41 +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
ahocevar
ce977e5364
Map browser event handling for touch devices
...
By handling click, dblckick and drag sequences in MapBrowserEvent, we can overcome closure issues with touch events. In particular, these issues were double drag events (from mousemove and touchmove) and a missing dblclick event on touch devices.
2012-09-25 17:28:01 +02:00
Éric Lemoine
3e01ca97c3
remove the jsunit tests
2012-09-25 12:03:36 +02:00
Tom Payne
2d7a21eaa0
More gjslint fixes
2012-09-25 00:03:53 +02:00
Tom Payne
8394147df1
Satisfy gjslint
2012-09-24 21:25:29 +02:00
Tim Schaub
d51cd1c395
Interaction in ol.interaction namespace.
2012-09-24 17:18:21 +02:00
Tom Payne
f8c31ba45c
s/ol3/ol/
2012-09-24 14:21:41 +02:00