flexJoly
391bae35f2
minor fixes
...
and keep original parameters in TranslateEvent the same
2019-09-26 19:30:24 +02:00
flexJoly
180e1c86fc
Cache starting coordinates and add mapBrowserEvent to translateEvent
2019-09-26 18:48:51 +02:00
ahocevar
ebfb20440a
Simplify events and store listeners only in one place
2019-09-04 16:48:43 +02:00
André Garneau
7817cf31c6
Changes following code review
...
Add a type for FilterFunction and add tests for filter option.
2019-06-04 17:45:28 -04:00
André Garneau
b42ee8ca0f
Add filter function to translate interaction
...
Add a filter function to the translate interaction. This filter is similar to the one present in the select interaction options and provides the ability to dynamically filter which features to include in the translate interaction. Adding the existing "features" options allows further filtering to take place. In this case the filter is first applied, and features that are passing the filtering need to be present in the "features" options to be further kept. The default filter function always return true (no filtering).
2019-05-31 14:51:13 -04:00
Frederic Junod
0189e8345d
Remove WebGL references in comments
2018-11-16 14:05:06 +01:00
Frederic Junod
6d608c361a
Simplify import path in ol/interaction/
2018-11-05 16:26:45 +01:00
Kevin Schmidt
942a0976be
Move interaction event handlers to class methods
2018-10-03 06:30:09 -06:00
Frederic Junod
81bab31efb
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-08 11:01:02 +02:00
Frederic Junod
ea616e7751
Don't import ourselves
2018-09-06 09:05:32 +02:00
Tim Schaub
ccfacc5ee6
Transformed types
...
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e ):
jscodeshift --transform ts.js src
2018-09-05 08:05:29 -06:00
Tim Schaub
2eb07aa081
Use Template<Foo> instead of Template.<Foo>
2018-07-25 18:37:08 -07:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
ahocevar
bbe0a66d07
Set api annotation on classdesc, not constructor
2018-07-21 17:25:22 +02:00
Tim Schaub
e5493d1288
Add ol/pixel module for Pixel type
2018-07-19 10:17:00 -06:00
ahocevar
e79add2e77
Use extends, super and proper constructor jsdoc for ol/interaction
2018-07-17 21:09:06 +02:00
Tim Schaub
f78d0d4cfa
Manual class transform
2018-07-16 17:09:50 -06:00
Tim Schaub
7b4a73f3b9
Automated class transform
...
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
Tim Schaub
167bc1ec78
Remove externs/oli.js
2018-05-08 08:38:34 -06:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
ahocevar
417dd85f83
Fix some jsdoc path types
2018-04-21 10:17:53 +02:00
Tim Schaub
20bbd71702
Correct type for Translate interaction options
2018-04-19 18:13:20 -06:00
Frederic Junod
0477f6cfdf
Mark optional property with square brackets
2018-03-19 14:31:04 +01:00
ahocevar
c496b4edca
Fix type typos
2018-03-16 17:22:45 +01:00
ahocevar
00d65ccddc
No olx and ol types for ol/interaction/Translate
2018-03-16 17:15:41 +01:00
Tim Schaub
8907339963
Module type for ol/MapBrowserEvent
2018-03-12 08:32:09 -06:00
Tim Schaub
cf80733e41
Module type for ol/Feature
2018-03-12 08:32:09 -06:00
Andreas Hocevar
95d6251dbb
Get rid of olx.js and typedef.js typedefs for ol
2018-03-08 18:57:24 +01:00
Tim Schaub
e0a99c43dc
Remove static members from Translate
2018-02-25 09:03:27 -07:00
Tim Schaub
4e6cf58de1
Remove static members from BaseObject
2018-02-25 08:49:28 -07:00
Tim Schaub
c4c46e0121
Remove private static members from Translate interaction
2018-02-12 07:12:02 -07:00
Tim Schaub
7e7631c42a
Named exports from ol/events
2018-01-24 10:09:57 -07:00
Frederic Junod
fc256ed77e
Rename _ol_interaction_Translate_ to Translate
2018-01-15 09:40:37 +01:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
019933ef25
Rename _ol_interaction_TranslateEventType_ to TranslateEventType
2018-01-11 12:12:34 -07:00
Tim Schaub
dce1790886
Rename _ol_interaction_Pointer_ to PointerInteraction
2018-01-11 12:09:58 -07:00
Tim Schaub
176021e188
Rename _ol_Collection_ to Collection
2018-01-11 12:06:58 -07:00
Frederic Junod
f0d4fdd98e
Rename _ol_interaction_Property_ to InteractionProperty
2018-01-11 14:01:51 +01:00
Tim Schaub
24dd0ca924
Rename _ol_Object_ to BaseObject
2018-01-10 09:35:43 -07:00
Marc Jansen
02002082bf
Named exports from ol/array module
2017-12-19 17:22:58 +01:00
Marc Jansen
1cc682e488
Rename _ol_events_Event_ to Event
2017-12-15 16:17:56 +01:00
Frederic Junod
2498bba90a
Named exports from ol/functions
2017-12-15 13:44:32 +01:00
Tim Schaub
87295a74dd
Use named exports from ol/index.js
2017-12-12 12:34:23 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
1cdb6a66f0
Imports cased like the filename
2017-12-12 06:53:17 -07:00