ahocevar
3f79edba67
Use setTimeout with any return type
2018-10-03 10:50:44 +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
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
Kevin Schmidt
c5a9d5b0bc
Move FeatureClass and FeatureLike to ol/Feature
2018-10-01 08:59:55 -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
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
Frederic Junod
a5f5c06af3
Cast 'originalEvent' in interactions
2018-09-05 16:38:42 +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
Frederic Junod
595009726f
Fix freehand polygon drawing
...
Fixes #8360
2018-09-03 11:56:31 +02:00
Andreas Hocevar
07cb678271
Merge pull request #8499 from ahocevar/focus
...
Round center in viewState to pixels
2018-08-16 16:41:15 +02:00
Andreas Hocevar
adce78e19e
Remove redundant if block
2018-08-16 07:04:53 +02:00
ahocevar
8ab1589f9a
Add getOverlay method to access sketch and selection layers
2018-08-15 10:59:38 +02:00
ahocevar
dbdaa73cf2
Only change interacting flag when dragging
2018-08-09 18:16:58 +02:00
ahocevar
c74b9c1d55
Do not prevent default on pointermove
...
Instead, only prevent default on handled pointerdown events. This makes
the `focus` condition work with interactions that involve dragging on
touch devices.
2018-07-31 08:33:15 +02:00
Tim Schaub
6cfa2b22a7
Explicit void
2018-07-26 10:46:39 -06:00
Tim Schaub
2eb07aa081
Use Template<Foo> instead of Template.<Foo>
2018-07-25 18:37:08 -07:00
Tim Schaub
affbf59b77
Use Object<Foo, Bar> instead of Object.<Foo, Bar>
2018-07-25 18:33:49 -07:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
Tim Schaub
6cdfbe3116
Merge pull request #8422 from jkoelewijn/improveJsDocForAngularCli
...
Improve JSDoc such that `ng build --prod` with angular/cli 6.0.8 succeeds again
2018-07-23 14:40:50 -07:00
Andreas Hocevar
a89ae25134
Merge pull request #8396 from iamplex/fix-createRegularPolygon
...
Fix ol.interaction.Draw~createRegularPolygon
2018-07-23 10:51:32 +02:00
Jaap Koelewijn
2769953204
Fix JSDoc such that ng build --prod with angular/cli 6.0.8 succeeds again.
2018-07-23 01:05:26 +02:00
ahocevar
bbe0a66d07
Set api annotation on classdesc, not constructor
2018-07-21 17:25:22 +02:00
ahocevar
45cf296ed4
Simplify calculation and add tests
2018-07-21 10:22:42 +02:00
plex
b377bbac59
fix: change the start angle of the regular polygon to match the sketch
2018-07-21 09:44:00 +02:00
Tim Schaub
2a04415264
Remove extra curly in type
2018-07-20 19:57:49 -06:00
Tim Schaub
e5493d1288
Add ol/pixel module for Pixel type
2018-07-19 10:17:00 -06:00
ahocevar
4589345fac
Remove leftover this in super call
2018-07-18 15:41:35 +02:00
ahocevar
e79add2e77
Use extends, super and proper constructor jsdoc for ol/interaction
2018-07-17 21:09:06 +02:00
Tim Schaub
d0ab8dce38
Lint removal
2018-07-16 17:57:57 -06: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
97f6171b4c
Rename setFlatCoordinatesInternal to setFlatCoordinates
2018-07-07 18:04:13 +02:00
ahocevar
160f1bc286
Accept flat coordinates in LineString constructor
2018-07-07 16:04:43 +02:00
ahocevar
1da43d90af
Allow flat coordinates for Polygon constructor
2018-07-07 14:16:39 +02:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
Frederic Junod
6444e6989d
Add missing properties in option typedef
2018-06-06 16:14:22 +02:00
Frederic Junod
854c95f37a
Ignore 'this' type in function typedef
2018-05-09 13:49:59 +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
Frederic Junod
61067e6c2c
Module type for ol.Feature and short notation for ol/render/Feature
2018-04-26 15:38: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