Kevin Schmidt
07349de59b
Add tests for interaction event handlers
2018-10-03 06:59:18 -06: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
ahocevar
3397796ff2
Use setTimeout without the window namespace
2018-10-03 13:06:14 +02:00
ahocevar
9586c7cbc7
Get rid of private handler members
2018-10-03 05:06:01 -06:00
Kevin Schmidt
18570841d8
Move interaction event handlers to class methods
2018-10-03 05:06:01 -06:00
Andreas Hocevar
bafb9e4a8c
Merge pull request #8763 from wallw-bits/fix-typecheck-events
...
Fix type check for ol/events
2018-10-03 11:52:44 +02:00
Tim Schaub
4cb5dc695b
Merge pull request #8774 from schmidtk/ts-renderer-webgl
...
Fix type check errors in ol/renderer/webgl
2018-10-03 03:48:07 -06:00
Andreas Hocevar
4ca75e2aab
Merge pull request #8768 from schmidtk/ts-interaction-select
...
Fix type check errors in ol/interaction/Select
2018-10-03 11:10:50 +02:00
Andreas Hocevar
56f623337b
Merge pull request #8764 from schmidtk/ts-interaction-draw
...
Fix TypeScript errors in ol/interaction/Draw
2018-10-03 11:07:59 +02:00
ahocevar
3f79edba67
Use setTimeout with any return type
2018-10-03 10:50:44 +02:00
Andreas Hocevar
2799f0c824
Merge pull request #8767 from schmidtk/ts-interaction-modify
...
Fix type check errors in ol/interaction/Modify
2018-10-03 10:33:50 +02:00
Andreas Hocevar
cbd6aabea2
Merge pull request #8773 from schmidtk/ts-renderer-canvas
...
Fix type check errors in ol/renderer/canvas
2018-10-03 10:29:29 +02:00
Andreas Hocevar
5c737b21ae
Merge pull request #8769 from schmidtk/ts-render-canvas
...
Fix type check errors in ol/render/canvas
2018-10-03 10:17:54 +02:00
Andreas Hocevar
0f9485a806
Merge pull request #8770 from schmidtk/ts-render-webgl
...
Fix type check errors in ol/render/webgl
2018-10-03 10:15:57 +02:00
Andreas Hocevar
bb544114ee
Merge pull request #8765 from ahocevar/fixed-tileurlfunction-bye-bye
...
Simplify logic for fixed tile url functions
2018-10-03 10:10:18 +02:00
Frédéric Junod
c7813bbf45
Merge pull request #8766 from fredj/featurelike
...
Use FeatureLike typedef
2018-10-03 08:47:06 +02:00
Kevin Schmidt
e30293d07f
Fix type check errors in ol/renderer/webgl
2018-10-02 15:36:02 -06:00
Kevin Schmidt
b26d81fd7e
Fix type check errors in canvas tile renderers
2018-10-02 15:24:51 -06:00
Kevin Schmidt
d3e34f95c9
Fix type check errors in ol/renderer/canvas/VectorLayer
2018-10-02 15:24:51 -06:00
Kevin Schmidt
16faf064de
Fix type check errors in ol/renderer/canvas/Map
2018-10-02 15:24:51 -06:00
Kevin Schmidt
be4afde507
Fix type check errors in ol/renderer/canvas/ImageLayer
2018-10-02 15:24:51 -06:00
Andreas Hocevar
2b8cee3e44
Merge pull request #8739 from schmidtk/ts-format-wmsgfi
...
Fix TypeScript errors in ol/format/WMSGetFeatureInfo
2018-10-02 21:27:54 +02:00
Andreas Hocevar
682fe47914
Merge pull request #8666 from schmidtk/ts-condition-fixes
...
Fix condition TypeScript errors
2018-10-02 21:10:10 +02:00
Kevin Schmidt
b1309578b4
Fix type check errors in ol/render/webgl/TextReplay
2018-10-02 12:59:41 -06:00
Kevin Schmidt
ecaec7bbfa
Fix type check errors in ol/render/webgl/ReplayGroup
2018-10-02 12:55:59 -06:00
Kevin Schmidt
b4fced865d
Fix type check errors in ol/render/webgl/Immediate
2018-10-02 12:54:27 -06:00
Kevin Schmidt
9b12b30100
Fix type check errors in ol/render/canvas/TextReplay
2018-10-02 12:39:45 -06:00
Kevin Schmidt
9ac00667b4
Fix type check errors in ol/render/canvas/Replay
2018-10-02 12:38:31 -06:00
Kevin Schmidt
452d5454cb
Fix type check errors in ol/render/canvas/Immediate
2018-10-02 12:32:37 -06:00
ahocevar
4aff3d0631
Simplify logic for fixed tile url functions
2018-10-02 17:26:22 +02:00
Kevin Schmidt
2f151a7832
Fix type check errors in ol/interaction/Select
2018-10-02 08:57:25 -06:00
Kevin Schmidt
25cf54193a
Fix type check errors in ol/interaction/Modify
2018-10-02 08:31:03 -06:00
Frederic Junod
ae87cad7ef
Use FeatureLike typedef
...
Use `import("./Feature.js").FeatureLike` typedef instead of `import("./Feature.js").default|import("./render/Feature.js").default`
2018-10-02 12:58:56 +02:00
Kevin Schmidt
b6846d6b3d
Use window.setTimeout to avoid TS conflict with Node's setTimeout
2018-10-01 15:41:03 -06:00
Kevin Schmidt
d62dd67942
Fix TypeScript errors in ol/interaction/Draw
2018-10-01 15:38:31 -06:00
William Wall
2517b838b6
Fix type check for ol/events
...
Cast to ol/events/Target since the function declarations only match
between EventTarget and Target for the first two parameters.
2018-10-01 14:02:12 -06:00
William Wall
9fc8475586
Fix type check in ol/PluggableMap.js
...
- Added JSDoc to getRenderer()
- Cast default options to types
- Cast event to MouseEvent to satisfy tsc. Non mouse/touch events
will simply produce [NaN, NaN]
- Cast to Layer before calling getSource(), as it does not exist
on Base
2018-10-01 12:49:47 -06:00
Andreas Hocevar
023ad3c531
Merge pull request #8757 from schmidtk/ts-typeof-ctor
...
Use typeof to simplify JSDoc class types
2018-10-01 18:33:35 +02:00
Kevin Schmidt
26f1cba808
Remove JSDoc to work around issue solved by typeof
2018-10-01 10:24:55 -06:00
Frédéric Junod
76dda0c422
Merge pull request #8759 from fredj/es6_examples
...
Use es6 class inheritance in examples
2018-10-01 17:12:20 +02:00
Andreas Hocevar
31ac0eb406
Merge pull request #8761 from schmidtk/ts-feature-types
...
Allow returning RenderFeature in ol/format/Feature
2018-10-01 17:04:36 +02:00
Kevin Schmidt
c5a9d5b0bc
Move FeatureClass and FeatureLike to ol/Feature
2018-10-01 08:59:55 -06:00
Kevin Schmidt
7dbe38358a
Replace TileClass with typeof ImageTile
2018-10-01 08:37:01 -06:00
Kevin Schmidt
accdc79c05
Use typeof to simplify JSDoc class types
2018-10-01 08:30:06 -06:00
Kevin Schmidt
7056eb8536
Allow returning RenderFeature in ol/format/Feature
...
Resolves #8760
2018-10-01 08:24:30 -06:00
Andreas Hocevar
88cde255f8
Merge pull request #8758 from schmidtk/ts-kml-color-node
...
Fix TS error and prevent extra string conversion
2018-10-01 15:45:32 +02:00
Frederic Junod
47b68ed96d
Use es6 class inheritance in examples
...
Instead of using the deprecated `inherits` function.
2018-10-01 15:44:18 +02:00
Kevin Schmidt
d6b99a5a25
Fix TS error and prevent extra string conversion
2018-10-01 07:29:16 -06:00
Frédéric Junod
a2c7eb80fd
Merge pull request #8736 from fredj/misc
...
Typescript misc fixes
2018-10-01 08:29:02 +02:00