Andreas Hocevar
e9e664f3c9
Add typed signature for Observable#un()
2021-07-10 11:28:50 +02:00
Simon Seyock
d914006d51
Add signatures for once.
2021-07-10 11:28:49 +02:00
Simon Seyock
1870a64984
Add CombinedOnSignature.
2021-07-10 11:28:49 +02:00
Simon Seyock
e9a161740a
controls and interactions.
2021-07-10 11:28:48 +02:00
Simon Seyock
c8f43050c4
Revert "Merge pull request #12416 from ahocevar/eventtype-generics"
...
This reverts commit b6c143deb2 , reversing
changes made to 7777821df5 .
2021-07-10 11:28:46 +02:00
Andreas Hocevar
b6c143deb2
Merge pull request #12416 from ahocevar/eventtype-generics
...
Use generics to limit event types in on(), once() and un()
2021-06-21 09:36:25 +02:00
Andreas Hocevar
018ad97f25
Use generics to limit event types in on(), once() and un()
2021-06-20 22:25:47 +02:00
Tim Schaub
f798902ecd
Fix JSDoc generated links
2021-06-17 21:54:07 -06:00
Simon Seyock
8facb252f1
Replace google closure syntax = with brackets around name
2021-02-03 14:06:02 +01:00
Simon Seyock
f590cb3473
Harmonize jsdoc
2021-02-02 12:14:56 +01:00
Stéphane Brunner
23e5c7ced8
Export all the Event sub class
...
Actually only some are exported
This is useful to type the received events
2020-09-25 13:15:49 +02:00
mike-000
342b69fe92
fix prettier
2020-06-18 15:42:48 +01:00
mike-000
3acb0b28de
Add condition option
2020-06-18 15:17:55 +01:00
Andreas Hocevar
33ce206bab
Get rid of MapBrowserPointerEvent
2020-05-10 16:54:34 +02:00
Tim Schaub
054af09032
Make code prettier
...
This updates ESLint and our shared eslint-config-openlayers to use Prettier. Most formatting changes were automatically applied with this:
npm run lint -- --fix
A few manual changes were required:
* In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
* In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason. While editing this, I reworked `ExampleBuilder` to be a class.
* In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Frederic Junod
da8ef43db7
Remove all inheritDoc tags from src/ol/interaction
2020-04-03 07:52:51 +02:00
Tobias Kohr
8c4937170b
rename external methods to API names
2019-09-24 18:13:57 +02:00
Tobias Kohr
b1196e7601
fix linting
2019-09-24 17:58:56 +02:00
Tobias Kohr
d4c1589a01
Seperate internal and API methods for the map
2019-09-24 17:58:56 +02:00
Stéphane Brunner
889b6a9f43
Removes unnecessary type cast
2019-05-27 11:34:33 +02:00
Tim Schaub
0f998b4522
Link to the extent event instead of the extent event type
2019-04-28 16:36:33 -06:00
Frederic Junod
0b53a3229b
Remove unneeded type cast
2019-02-04 09:58:49 +01:00
Frederic Junod
6d608c361a
Simplify import path in ol/interaction/
2018-11-05 16:26:45 +01:00
ahocevar
9163558511
Replace instanceof checks with other logic
2018-10-12 20:35:59 +02:00
Kevin Schmidt
909869b8b9
Fix type check errors in ol/interaction/Extent
2018-10-03 06:35:18 -06: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
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
Frederic Junod
ad1dec58ec
Rename Extent to ExtentInteraction
2018-09-03 15:15:58 +02: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
Frederic Junod
af1f6836af
Shorter module paths for default exports
2018-05-09 11:24:43 +02:00
Tim Schaub
167bc1ec78
Remove externs/oli.js
2018-05-08 08:38:34 -06:00
ahocevar
9bfdf818e4
Rename Style~Function path type to Style~StyleFunction
2018-04-27 09:30:51 +02:00
ahocevar
59d904e509
Fix some types
2018-04-27 09:30:51 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
ahocevar
d7f3e633b7
Fix code snippet JavaScript
2018-04-23 08:33:50 +02:00
ahocevar
c23a5086ae
Fix enum types
2018-04-21 10:48:38 +02:00
ahocevar
417dd85f83
Fix some jsdoc path types
2018-04-21 10:17:53 +02:00
ahocevar
4e89e5ed73
Fix indentation
2018-03-16 17:30:23 +01:00
ahocevar
c496b4edca
Fix type typos
2018-03-16 17:22:45 +01:00
ahocevar
080a156f3f
No olx and ol types for ol/interaction/Extent
2018-03-15 18:07:14 +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
Tim Schaub
ef70d71636
Module types for ol/geom
2018-03-12 08:32:09 -06:00