Commit Graph

13372 Commits

Author SHA1 Message Date
Frédéric Junod
f50451698a Merge pull request #1872 from fredj/vbarray
Fix vbarray extern
2014-03-18 09:01:43 +01:00
Frederic Junod
b04639ccc5 Fix vbarray extern
dimension argument is optional.
See http://msdn.microsoft.com/en-us/library/3kk8f869(v=vs.94).aspx
and http://msdn.microsoft.com/en-us/library/0kbz883e(v=vs.94).aspx
2014-03-18 08:14:34 +01:00
Frédéric Junod
1b6f0a3fd1 Merge pull request #1870 from fredj/has-touch
Fix ol.BrowserFeature.HAS_TOUCH detection code
2014-03-18 08:00:56 +01:00
Bart van den Eijnden
5db19fc307 Merge pull request #1867 from bartvde/stability
Mark parts of control and overlay as stable
2014-03-17 20:06:52 +01:00
Tom Payne
84479a096f Merge pull request #1871 from twpayne/select-toggle
Replace ol.interaction.Select add with toggle
2014-03-17 17:10:45 +01:00
Tom Payne
395f1222a1 Add remove and toggle options to ol.interaction.Select 2014-03-17 16:43:41 +01:00
Tom Payne
29d1ee5e03 Add ol.events.condition.never 2014-03-17 16:40:38 +01:00
Tim Schaub
f57a0544a0 Merge pull request #1845 from tschaub/buffered
Track replay group resolution and buffer max extent to capture strokes.
2014-03-17 08:50:07 -06:00
Frederic Junod
f2d8ad34fa Fix ol.BrowserFeature.HAS_TOUCH detection code
Use goog.global instead goog.global.document.documentElement to avoid
false negative results when using the chrome development tools (Touch
Events emulation).

Code borrowed from https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touchevents.js
except for the DocumentTouch part which is deprecated (https://developer.mozilla.org/en-US/docs/Web/API/DocumentTouch)

Fixes #1869
2014-03-17 15:04:55 +01:00
Tom Payne
ade384f842 Merge pull request #1868 from twpayne/wrap-x
Add wrapX option to ol.source.XYZ
2014-03-17 14:16:56 +01:00
Tom Payne
27943d9ed6 Tidy up setting of default projection 2014-03-17 14:08:41 +01:00
Tom Payne
2100cd30df Add wrapX option to ol.source.XYZ 2014-03-17 14:08:41 +01:00
Frédéric Junod
38009e1984 Merge pull request #1866 from fredj/pointerevents-tests
Fix simulated touch event in tests
2014-03-17 12:18:36 +01:00
Frederic Junod
9a51557dec Increase simulated clientY value
The the difference in position must be greater than
ol.pointer.MouseSource.DEDUP_DIST
2014-03-17 12:04:10 +01:00
Bart van den Eijnden
83bf626e03 Mark parts of control and overlay as stable 2014-03-17 11:06:46 +01:00
Frederic Junod
391f81f838 Fix simulated touch event in tests 2014-03-17 10:35:13 +01:00
Frédéric Junod
593bb46708 Merge pull request #1865 from fredj/device-orientation
Make ol.DeviceOrientation dispatch change events
2014-03-17 09:34:29 +01:00
Éric Lemoine
f019f3ed44 Merge pull request #1858 from elemoine/geolocation
Add change event to Geolocation
2014-03-17 09:32:08 +01:00
Frederic Junod
2e390794ed Use change event in device-orientation example 2014-03-17 09:06:25 +01:00
Frederic Junod
6df7d5afda Make ol.DeviceOrientation dispatch change events 2014-03-17 09:05:52 +01:00
Andreas Hocevar
c3cc4af453 Merge pull request #1861 from ahocevar/init-lastpixel
Initialize lastPixel_ properly
2014-03-14 15:44:52 +01:00
ahocevar
6de1636507 Initialize lastPixel_ properly 2014-03-14 15:24:58 +01:00
Éric Lemoine
c8f981b38d Merge pull request #1840 from tsauerwein/pointerevents
Use pointer events
2014-03-14 11:13:24 +01:00
tsauerwein
155b9b3f86 Add comment about pointercancel listener 2014-03-14 10:16:27 +01:00
tsauerwein
b2a37b8244 Remove not needed require 2014-03-14 10:16:27 +01:00
tsauerwein
41df4e0a23 Remove assertion again
When doing a double tap, the timeout id might get overridden.
2014-03-14 10:16:27 +01:00
tsauerwein
599de6a44a Listen also to pointerdown on overlay container 2014-03-14 10:16:27 +01:00
tsauerwein
89da5debfa Fix order of olx.interaction.* types 2014-03-14 10:16:27 +01:00
tsauerwein
7789d5eb08 Fix Google Maps example 2014-03-14 10:16:27 +01:00
tsauerwein
51a557efbb Replace goog.structs.Map with plain object 2014-03-14 10:16:27 +01:00
tsauerwein
8a26ac6e24 Set preventDefault in PointerEvent constructor 2014-03-14 10:16:27 +01:00
tsauerwein
68fa5fb9ce Make use of goog.array.remove 2014-03-14 10:16:27 +01:00
tsauerwein
debdc26fd2 Remove assignment inside expression 2014-03-14 10:16:27 +01:00
tsauerwein
71b424f74c Add missing require 2014-03-14 10:16:27 +01:00
tsauerwein
1a477b8f32 Assert that timeout reset ids are not overridden 2014-03-14 10:16:27 +01:00
tsauerwein
d170281354 Re-use handler 2014-03-14 10:16:27 +01:00
tsauerwein
e08fa37565 Use enums for pointer event types 2014-03-14 10:16:27 +01:00
tsauerwein
72d7a6e1ff Remove unused property pointerMap on NativeSource 2014-03-14 10:16:27 +01:00
tsauerwein
b693ddf56e Remove assignments inside expression 2014-03-14 10:16:27 +01:00
tsauerwein
73c33e58e9 Remove unused constant NEW_MOUSE_EVENT 2014-03-14 10:16:27 +01:00
tsauerwein
77aa29e6ee Remove blank lines 2014-03-14 10:16:27 +01:00
tsauerwein
873d47d087 Remove not needed type cast 2014-03-14 10:16:27 +01:00
tsauerwein
6933023441 Remove leading whitespace 2014-03-14 10:16:27 +01:00
Éric Lemoine
d08ab1ea78 PinchZoom interaction sets/unsets interacting hint 2014-03-14 10:16:27 +01:00
Éric Lemoine
544ceaf9f9 PinchRotate interaction sets/unsets interacting hint 2014-03-14 10:16:27 +01:00
Éric Lemoine
b5339550b7 DragPan interaction sets/unsets interacting hint 2014-03-14 10:16:27 +01:00
Éric Lemoine
d1ef5b0f5b Remove view hint handling from pointer interaction 2014-03-14 10:16:27 +01:00
Éric Lemoine
35b31730b5 Change a property from private to protected 2014-03-14 10:16:27 +01:00
Éric Lemoine
b939ca24d7 Use a more explicit variable name 2014-03-14 10:16:27 +01:00
Tom Payne
df71854561 Merge ol.pointer.CLONE_PROPS and CLONE_DEFAULTS into a single array 2014-03-14 10:16:27 +01:00