Stéphane Brunner
|
04f2b20674
|
revert mistake [11829]
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11830 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-31 09:49:41 +00:00 |
|
Stéphane Brunner
|
c9d459c7fe
|
fix Don't let the browser to zoom or select the map on feature selection, r=erilem (closes #3212)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11829 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-31 09:45:50 +00:00 |
|
Stéphane Brunner
|
36face3f71
|
Cleanup mouse event on touch devices, r=erilem (closes #3215)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11827 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-31 09:01:05 +00:00 |
|
Tim Schaub
|
587b2320ab
|
Restore drag handler state in deactivate. r=erilem (closes #3218)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11808 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-30 20:54:41 +00:00 |
|
Tim Schaub
|
a25f506f20
|
Restore click handler state in deactivate. r=erilem (closes #3217)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11807 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-30 20:53:46 +00:00 |
|
bartvde
|
56bca84cfe
|
add support for maxVertices in Hander.Path, p=me,r=erilem, thanks erilem for the updated patch and your great work on this (closes #2779)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11797 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-30 14:38:32 +00:00 |
|
Éric Lemoine
|
cafe9661c4
|
click handler fires a "click" event when it should not, r=sbrunner (closes #3202)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11771 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-30 08:25:40 +00:00 |
|
Éric Lemoine
|
c15ffab9bc
|
better tests for the polygon handler, and minor changes to the path handler tests, tests only change
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11769 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-30 07:09:31 +00:00 |
|
Éric Lemoine
|
b176d522c9
|
better tests for path handler, tests only patch
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11760 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-29 21:59:24 +00:00 |
|
Éric Lemoine
|
266f4c5843
|
better tests for the point handler, tests only patch
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11759 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-29 21:59:08 +00:00 |
|
Frédéric Junod
|
d966553cdf
|
fix comment
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11754 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-29 15:27:09 +00:00 |
|
ahocevar
|
7dd75fa6ea
|
omit some tests in browsers that don't give us getComputedStyle for elements inside hidden frames (closes #2910)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11753 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-29 15:15:07 +00:00 |
|
ahocevar
|
c5dfe37bd4
|
fixed box sizing and positioning. r=sbrunner (closes #2910)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11749 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-29 13:44:04 +00:00 |
|
Éric Lemoine
|
0276351f50
|
when zooming out right after drawing a polygon or a line a point appears in the upper left corner, p=jorix, r=me (closes #3196)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11745 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-29 12:00:58 +00:00 |
|
Éric Lemoine
|
04ee616947
|
make it possible to activate a drawing handler before the map is centered, r=ahocevar (closes #3179)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11717 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-21 08:28:58 +00:00 |
|
bartvde
|
318003d399
|
Point Handler should not create feature if it is not active anymore, p=me,erilem r=ahocevar (closes #3172)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11701 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-12 16:03:57 +00:00 |
|
Tim Schaub
|
5b7d530461
|
Reworking click and pinch handling to get better behavior on multi-touch devices. r=ahocevar +testing from others (closes #3133)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11695 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-11 01:53:26 +00:00 |
|
Éric Lemoine
|
1b3404f1f9
|
the map may jump on mouseup after dragging, p=me, r=crschmidt (closes #2936)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11635 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-03-07 08:21:51 +00:00 |
|
Tim Schaub
|
8569ec2c2f
|
Remove unused testEvent.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11568 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-27 23:22:57 +00:00 |
|
Tim Schaub
|
b750f690d9
|
Mocking less and (more importantly) making sure all assertions are not made in conditionally run code.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11567 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-27 17:03:57 +00:00 |
|
Tim Schaub
|
7fde5fd248
|
Refactoring the click handler tests so they are more legible and rely less on long sequences.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11566 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-27 15:29:32 +00:00 |
|
ahocevar
|
33eef42075
|
making drawing handler work on touch devices. p=sbrunner, r=me (closes #3072)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11563 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-27 15:00:38 +00:00 |
|
Tim Schaub
|
02d4257544
|
Using real pixels in tests so we get distanceTo method.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11558 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-27 13:08:51 +00:00 |
|
Frédéric Junod
|
a076ce9228
|
Handler.Feature: fix mobile support. p=fredj,erilem r=erilem (closes #3106)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11510 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-25 15:18:02 +00:00 |
|
Tim Schaub
|
960ef3de18
|
Don't store touch events. The same event is used between touchstart, touchmove, and touchend. Instead, we store event details on the handler and use those when needed. p=bbinet, r=me (closes #3120)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11507 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-25 14:52:56 +00:00 |
|
Tim Schaub
|
680923319c
|
Adding a pinch handler for multi-touch devices. Great patch from Bruno. p=bbinet, r=me (closes #3077)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11389 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-24 10:05:49 +00:00 |
|
crschmidt
|
8da53d8fbd
|
Better mocking of the function calls on handlers so that handlers which
expect an evt object don't get errors when activating.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11387 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-24 09:37:47 +00:00 |
|
Éric Lemoine
|
30aeab365a
|
make it possible to pan the map while drawing geometries, r=tschaub (closes #3052)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11381 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-24 09:00:49 +00:00 |
|
Tim Schaub
|
fa32a4a645
|
Arrange elements so we can get mouse events on controls while preventing the default (scroll) behavior on touch devices. r=elemoine (closes #3091)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11365 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-23 17:59:37 +00:00 |
|
bartvde
|
98a6c1754d
|
fix up issue with Sencha Touch example not handling double tap to zoom in, r=elemoine (closes #3079)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11226 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-22 11:21:20 +00:00 |
|
Éric Lemoine
|
f67bcaa033
|
add a touch events related test for the drag handler, no functional change
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11225 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-22 11:10:35 +00:00 |
|
Éric Lemoine
|
7a8f3917c9
|
make click handler work with touch events (closes #2996)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11201 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-21 16:04:34 +00:00 |
|
Éric Lemoine
|
07160f5385
|
make drag handler work with touch events, p=lotsofpeople, r=tschaub (closes #2995)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11189 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-21 15:07:55 +00:00 |
|
pgiraud
|
f84f696e31
|
Adds the possibility to use a built version of OpenLayers for the tests, users simply have to add '?mode=build' in the run-tests.html url
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11162 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-21 10:10:25 +00:00 |
|
ahocevar
|
d6695cff67
|
fixing error when closing page in IE. Thanks bartvde for the testcase. r=bartvde (closes #3003)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11145 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2011-02-18 15:22:12 +00:00 |
|
Éric Lemoine
|
43d9e2e1a4
|
the drag handler's mouseout func should check if the mouse left the map viewport div as opposed to the map div, r=ahocevar (closes #2941)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10956 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2010-12-08 16:06:42 +00:00 |
|
Tim Schaub
|
1397f816b5
|
Adding interior ring digitizing for polygons. Thanks jachym for the initial work. r=ahocevar (closes #1894)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10828 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2010-10-13 22:12:52 +00:00 |
|
ahocevar
|
7993fc177b
|
Fixed onselect handling for the first down-move-up-out cycle. r=bartvde (closes #2735)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10637 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2010-08-19 14:52:45 +00:00 |
|
Frédéric Junod
|
6223d7fd82
|
Add a cumulative mode in MouseWheel handler. r=ahocevar (closes #2450)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10002 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2010-02-01 08:42:17 +00:00 |
|
ahocevar
|
ebc5d7c021
|
added option to the MouseWheel handler to trigger up/down events only
when wheel is released. r=elemoine (closes #2345)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9799 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2009-11-16 10:38:26 +00:00 |
|
Tim Schaub
|
dfcf68007e
|
Adding a 'sketchstarted' event on the vector layer. This event is triggered at the start of each new sketch. r=ahocevar (closes #1945)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9269 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2009-04-12 15:36:15 +00:00 |
|
Éric Lemoine
|
bcf29b8a65
|
SelectFeature should allow panning the map when over features, without activating click method at the end of drag, r=tschaub (closes #1824)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9194 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2009-04-06 11:46:15 +00:00 |
|
Tim Schaub
|
f4bae0a011
|
Adding support for a modify callback in the sketch handlers. This lets controls know about each sketch modification as a sketch is being drawn. Also a bit of a refactor of the sketch handlers to share sketch geometry parts. r=ahocevar (closes #1903)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8831 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2009-02-04 22:45:16 +00:00 |
|
Éric Lemoine
|
68ad14a047
|
Handler.RegularPolygon doesn't always call the "done" callback, r=tschaub (closes #1857)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8616 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2009-01-09 09:12:37 +00:00 |
|
Tim Schaub
|
850d69a02f
|
Take care not to handle features without a layer. These are typically destroyed features - but could be some other sort of miscreants. Thanks for the report igrcic. r=crschmidt (closes #1806).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8581 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2009-01-05 04:46:34 +00:00 |
|
Tim Schaub
|
b916be5489
|
The feature handler should not handle destroyed features. Or any features without a layer for that matter. r=elemoine (closes #1806)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8284 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2008-11-05 21:23:55 +00:00 |
|
Tim Schaub
|
9573f18756
|
Slightly more realistic mock features. Still no functional change.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8256 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2008-11-04 05:28:47 +00:00 |
|
Tim Schaub
|
b9874cdff9
|
Fewer chars to read. No functional change.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8255 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2008-11-04 05:23:43 +00:00 |
|
euzuro
|
84b65e5f8f
|
fix propogate/propagate typo in click handler. thanks to chris r. for finding this, elemoine for the review. (Closes #1359)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8207 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2008-10-27 19:00:08 +00:00 |
|
ahocevar
|
2a521ffcb2
|
Made the Feature handler more robust to things that are related to changing layer order on the map, by registering an event handler that will bring the handler's layer back to the top of the layer stack in the DOM. Contains a manual test. r=elemoine (closes #1628)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7879 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2008-08-27 14:02:21 +00:00 |
|