Commit Graph

5146 Commits

Author SHA1 Message Date
tsauerwein 2e4badb7f3 when copying properties for touch events, make sure that those properties that might be different for each Touch object are not copied from the touch event 2014-03-14 10:16:26 +01:00
tsauerwein 7fbd11154b refactoring, type annotations 2014-03-14 10:16:26 +01:00
tsauerwein d772c95ccf makes PointerEvent a plain closure class, instead of trying to mimic a mouse event, which was required for the polyfill 2014-03-14 10:16:25 +01:00
tsauerwein 7c8713f79d add comment about an open bug with native Android browser (4.1.2) when the page is scrolled 2014-03-14 10:16:25 +01:00
tsauerwein e1f4410ad4 removes not needed WeakMap struct 2014-03-14 10:16:25 +01:00
tsauerwein a31cc3f18c only track events when "pointerdown" event was received, because on native android browser wrong move events are sent with no "pointerdown" event 2014-03-14 10:16:25 +01:00
tsauerwein c4c1eb7d45 allow dragging for mouse/ms/native when pointer is outside map viewport element 2014-03-14 10:16:25 +01:00
tsauerwein ee2174785f copy properties for pointer event from internal browser event, not from google.event.BrowserEvent 2014-03-14 10:16:25 +01:00
tsauerwein 1c75ecc260 former touch interactions now use pointer events 2014-03-14 10:16:25 +01:00
tsauerwein 014ef96c31 base interactions for pointer events on existing touch interactions 2014-03-14 10:16:25 +01:00
tsauerwein 37ab50e2e4 use goog.bind, safari does not support the native bind 2014-03-14 10:16:25 +01:00
tsauerwein 492549642e add polymer license info 2014-03-14 10:16:25 +01:00
tsauerwein 0858f6825c source for touch events 2014-03-14 10:16:25 +01:00
tsauerwein 445ff5e05a source for native pointer events (IE11) 2014-03-14 10:16:25 +01:00
tsauerwein df4bd7c43b source for ms pointer events (IE10) 2014-03-14 10:16:25 +01:00
tsauerwein 7140f608f8 pointer events generated by mouse events 2014-03-14 10:16:25 +01:00
Andreas Hocevar 1a40b1793c Merge pull request #1789 from ahocevar/mousewheel-delta
Mousewheel zoom broken and resolution constraints not respected in Firefox
2014-03-13 23:43:04 +01:00
ahocevar 44e0f6ce68 Use the delta from goog.events.MouseWheelHandler as-is 2014-03-13 19:51:28 +01:00
Frédéric Junod 457d5635eb Merge pull request #1857 from fredj/doc
Add missing options in olx.layer.HeatmapOptions
2014-03-13 15:57:29 +01:00
Andreas Hocevar 9547ded39a Merge pull request #1854 from ahocevar/modify-interior-rings
Add support for editing interior polygon rings
2014-03-13 15:51:35 +01:00
Frederic Junod 9a4892bff3 Wrap long lines 2014-03-13 15:39:46 +01:00
Frederic Junod d1111bacf3 Add missing options in olx.layer.HeatmapOptions 2014-03-13 15:38:42 +01:00
Bart van den Eijnden 731e37349e Combine offsetX and offsetY with positioning 2014-03-13 15:34:45 +01:00
Bart van den Eijnden 3fe3beb28a Add offsetX and offsetY config options for ol.Overlay 2014-03-13 15:06:02 +01:00
Frederic Junod 5f43fe6da0 Add '@const' to ol.BrowserFeature.HAS_ARRAY_BUFFER 2014-03-13 10:54:43 +01:00
ahocevar ecddcdd732 Add support for editing interior polygon rings 2014-03-13 01:02:15 +01:00
Andreas Hocevar 1fbdf47e2a Merge pull request #1807 from ahocevar/float-no-zero
Modify interaction sometimes does not allow to create a new vertex
2014-03-13 00:51:43 +01:00
Andreas Hocevar e017555b7f Merge pull request #1808 from ahocevar/modify-multi
Modify interaction allows vertices to be added where they shouldn't be
2014-03-12 22:59:56 +01:00
Tim Schaub c2400f6dba Merge pull request #1815 from Intermedix/lazy-style-function
Lazily create styles returned by ol.defaultFeatureStyleFunction.
2014-03-12 17:26:49 -04:00
Tom Payne 271487c1bc Remove leading whitespace 2014-03-12 19:52:13 +01:00
Bart van den Eijnden c2b0760579 Merge pull request #1836 from bartvde/mapquest-layers-doc
Add possible values of layer for olx.source.MapQuestOptions (r=@elemoine)
2014-03-12 15:24:06 +01:00
Paul Spencer 94efa58363 Merge pull request #1844 from pagameba/doc-ol-format-feature
Documentation for ol.format.Feature subclasses
2014-03-12 10:23:25 -04:00
Tom Payne f7fa1ff4ad Merge pull request #1847 from twpayne/split-ol-geom-flat
Split ol.geom.flat into smaller modules
2014-03-12 14:41:25 +01:00
Tom Payne 1a643e1b37 Fix parsing of EX_GeographicBoundingBox when ol3 is compiled 2014-03-12 14:25:23 +01:00
Tom Payne 78c8d976eb Remove empty ol.geom.flat 2014-03-12 13:26:14 +01:00
Tom Payne 48af6ecd1c Factor out ol.geom.flat.center 2014-03-12 13:26:14 +01:00
Tom Payne ca44c6328c Factor out ol.geom.flat.transform 2014-03-12 13:26:14 +01:00
Tom Payne 6a00c14841 Move squaredDistance and squaredSegmentDistance into ol.math 2014-03-12 13:26:14 +01:00
Tom Payne 65dcc38fad Factor out ol.geom.flat.reverse 2014-03-12 13:26:14 +01:00
Tom Payne 3541a01aab Factor out ol.geom.flat.inflate 2014-03-12 13:26:14 +01:00
Tom Payne 9ca996725e Factor out ol.geom.flat.flip 2014-03-12 13:26:14 +01:00
Tom Payne 266c43dc78 Factor out ol.geom.flat.deflate 2014-03-12 13:26:14 +01:00
Tom Payne d525b43d06 Factor out ol.geom.flat.contains and interiorpoint 2014-03-12 13:26:14 +01:00
Tom Payne 1363ce3a58 Factor out ol.geom.flat.orient 2014-03-12 13:26:14 +01:00
Tom Payne becd1318bd Factor out ol.geom.flat.area 2014-03-12 13:26:13 +01:00
Tom Payne 20ee1dc992 Factor out ol.geom.flat.length 2014-03-12 13:26:13 +01:00
Tom Payne 522fda1688 Factor out ol.geom.flat.interpolate 2014-03-12 13:26:13 +01:00
Tom Payne c8165a8168 Factor out ol.geom.flat.simplify 2014-03-12 13:26:13 +01:00
Tom Payne 2b6845244c Factor out ol.geom.flat.closest 2014-03-12 13:26:13 +01:00
Tom Payne b565092d62 Use goog.math.lerp in ol.geom.flat.lineStringCoordinateAtM 2014-03-12 13:26:13 +01:00