Andreas Hocevar
df1d0ac4a0
Merge pull request #10739 from ahocevar/timeout-typo
...
Fix typo in trackpad timeout
2020-02-27 07:49:09 +01:00
Matthias
b695320dcf
Update DragPan.js
2020-02-26 20:37:51 -05:00
Matthias
10a624db3c
Update MouseWheelZoom.js
2020-02-26 20:36:07 -05:00
Andreas Hocevar
e9227a9bc1
Fix typo in trackpad timeout
2020-02-26 19:27:20 +01:00
Andreas Hocevar
c73034fe7d
Handle Select interactions with falsey select style
2020-02-20 00:36:33 +01:00
Andreas Hocevar
f98f66c529
Make Select interaction work when there are multiple instances
2020-02-19 11:52:12 +01:00
Andreas Hocevar
eebb2cb9ae
Merge pull request #10672 from ahocevar/mousewheel
...
Nicer mousewheel and trackpad zooming
2020-02-17 18:27:03 +01:00
Andreas Hocevar
d93073f8d0
No trackpad mode for constrained resolutions
2020-02-16 10:05:32 +01:00
Andreas Hocevar
5150378983
Improve trackpad rebound behavior
2020-02-16 09:08:27 +01:00
Andreas Hocevar
f3ce8e23b4
Fractional zoom changes in WHEEL mode
2020-02-15 13:53:14 +01:00
Andreas Hocevar
ea5c91e19e
Revert "Merge pull request #9565 from dbrnz/v6.0.0-beta.7-branch"
...
This reverts commit 35569a8427 , reversing
changes made to 29a434314b .
2020-02-14 11:46:57 +01:00
Thomas Chandelle
33a8466913
Add API method abortDrawing and dispatch a DRAWABORT event
2020-02-13 17:22:39 +01:00
Olivier Guyot
8d4c3b2887
Draw / clearer variable names
2020-02-11 11:19:55 +01:00
Olivier Guyot
3c5d0f223e
Draw / fix map object in addToDrawing method
2020-02-10 16:55:35 +01:00
Otto Pellinen
02597229e3
Cleanup comments
2020-02-10 16:48:12 +01:00
Otto Pellinen
bc79d59811
Use private function addToDrawing_ in appendCoordinates
2020-02-10 16:48:12 +01:00
Otto Pellinen
f43bc8d122
Fix comment for appendCoordinates
2020-02-10 16:48:12 +01:00
Otto Pellinen
175695f877
Update function descriptions for clarity
2020-02-10 16:48:12 +01:00
Otto Pellinen
83c0a258e6
Separate appendCoordinates function from extend
2020-02-10 16:48:12 +01:00
Otto Pellinen
25a5e83910
Fix eslint errors
2020-02-10 16:48:12 +01:00
Otto Pellinen
12ce4cc82a
Add support for extending linear coordinates when drawing Polygons
2020-02-10 16:48:12 +01:00
Andreas Hocevar
c8e340a623
Rename variables now that trackpads are not special any more
2020-02-05 12:58:21 +01:00
David Brooks
77658e5750
Ensure changes to zoom wheel handling pass tests.
2020-02-05 11:24:48 +01:00
David Brooks
54bae0168f
Handle mouse wheel zoom events as if they've come from a trackpad.
2020-02-05 11:21:44 +01:00
Andreas Hocevar
8e0a8114d7
Merge pull request #10340 from mike-000/patch-7
...
Draw circles and custom geometry in user coordinates
2019-12-11 10:07:12 +01:00
mike-000
2e544cb677
Circles and custom geometry in user coordinates
...
Pass the view projection to the geometry function so circles and other custom geometry can be given the expected shape/size in the view while being defined in user coordinates.
Add tests to draw circles in a user projection and along both axes
Draw regular polygon in a user projection
Draw box in a user projection
2019-12-10 19:47:37 +00:00
Andreas Hocevar
8911b96d3c
Do not preventDefault on pointerdown
2019-12-10 12:25:23 +01:00
Andreas Hocevar
10a6284b0b
Merge pull request #10332 from ahocevar/no-touch-action-css
...
Conditional default prevention instead of touch-action: none
2019-11-29 09:52:29 +01:00
Andreas Hocevar
e2c4670d6a
Merge pull request #10321 from greggian/touch-dragbox
...
Support touch events for DragBox interaction
2019-11-26 18:34:28 +01:00
Andreas Hocevar
88b8b2f7cb
Conditional default prevention instead of touch-action: none
2019-11-25 01:09:05 +01:00
Greg Gianforcaro
93d3ddb033
Fix modifying circle geometries
...
The Snap interaction may have altered the event coordinate, so Modify
should use the event coordinate whenever available.
Resolves #10316
2019-11-23 00:36:42 -05:00
Greg Gianforcaro
d99c77b992
Update DragBox jsdoc
...
- update the typedef to change the condition default value to {@link ol/events/condition~mouseActionButton}
- remove 'This interaction is only supported for mouse devices' comment
2019-11-22 16:35:31 -05:00
Greg Gianforcaro
2df22af3ca
Update DragBox to use only condition for filtering
...
- Remove mouseOnly and mouseActionButton hardcoded filters
- Default condition to mouseActionButton
2019-11-20 11:01:57 -05:00
Andreas Hocevar
3cca945002
Do not use Math.sign() to support very old browsers
2019-11-18 07:54:20 +01:00
Andreas Hocevar
643a3ad86b
tabindex without focux condition
2019-11-13 23:24:53 +01:00
Frederic Junod
51c9b56254
Remove all the sketch features in abortDrawing
2019-11-06 14:18:55 +01:00
Andreas Hocevar
ac50cc3460
New eslint config with no-multi-assign
2019-11-02 15:20:21 +01:00
TigerShark
e60dc93e0e
Make ol/interaction/Select#handleEvent return always true.
...
Previously it was returning true only if the event was a pointerMove
which prevented multiple Select objects with other event types from
working.
2019-10-23 17:30:56 -03:00
wirdehall
bd5510b62a
Updated docs for Select style.
...
Updated docs for Select style with new option of false.
2019-10-18 00:20:05 +02:00
wirdehall
a34e7ddd99
Should be able to ovveride defaultvalue of style in selection.
...
null or false should be able to prevent overriding the style.
As discussed here: https://github.com/openlayers/openlayers/issues/10131
2019-10-17 15:05:30 +02:00
Bobo Häggström
395b59c01e
Fix documentation for handleMoveEvent
...
This fixes #9814
2019-10-10 10:40:47 +02:00
Tim Schaub
80cf76e783
Merge pull request #10043 from tschaub/snap-geographic
...
User coordinates during snapping
2019-09-27 17:20:16 +02:00
Frederic Junod
f67476dd8f
Mark properties as nullable
2019-09-27 13:57:59 +02:00
Tim Schaub
07678d960a
User coordinates during snapping
2019-09-27 11:55:48 +02:00
Tim Schaub
6a5f6e4363
Merge pull request #10009 from tschaub/modified
...
Geometry editing with a user projection
2019-09-26 20:01:19 +02:00
flexJoly
391bae35f2
minor fixes
...
and keep original parameters in TranslateEvent the same
2019-09-26 19:30:24 +02:00
Tim Schaub
3c7b129106
User coordinates during drawing
2019-09-26 19:29:19 +02:00
flexJoly
180e1c86fc
Cache starting coordinates and add mapBrowserEvent to translateEvent
2019-09-26 18:48:51 +02:00
Tim Schaub
e0d24d3af0
User coordinates during modification
2019-09-26 18:46:55 +02:00
Tim Schaub
5d4e77151c
Handle event coordinate in the user projection
2019-09-26 17:24:58 +02:00