Frederic Junod
daaaff5ac7
Remove unnecessary typecast
...
Remove typecast where typescript is able to correctly deduce the type.
2019-10-02 10:44:06 +02:00
Frederic Junod
f67476dd8f
Mark properties as nullable
2019-09-27 13:57:59 +02:00
Andreas Hocevar
3a10476c1c
Merge pull request #10007 from mike-000/patch-1
...
Changes for #9395 CircleStyle inconsistency
2019-09-26 18:46:24 +02:00
Andreas Hocevar
86d99fa35c
Merge pull request #10017 from KlausBenndorf/jsdoc-plugin-typescript
...
updated jsdoc-plugin-typescript
2019-09-26 17:55:48 +02:00
Simon Seyock
09cad9b5f9
fixed jsdoc problems
2019-09-26 17:00:46 +02:00
mike-000
e28fa56edd
Changes for the CircleStyle inconsistency seen in #9395
...
Change hit detection test to reflect fix for #9395 CircleStyle inconsistency
Update ol/style/Circle and ol/style/RegularShapen tests
Revise test for no fill
Add test for transparent fill
Update Upgrade notes
Changes to hit detection with unfilled styles
2019-09-26 14:27:31 +01:00
Olivier Guyot
0732f17fd3
Webgl layer / remove @api tag & better doc
...
Also the webgl layer now only inherits from the Layer class,
not the VectorLayer one.
2019-09-26 14:42:04 +02:00
Olivier Guyot
4d7562fca2
Add a new WebGLPointsLayer type using the shader builder utilities
...
This required adding a `a_index` attribute in the points layer renderer
to be able to make the precomputed shaders to work.
2019-09-24 17:24:56 +02:00
Olivier Terral
7c9ebf8b1b
Clone the text's padding
2019-09-06 12:16:04 +02:00
ahocevar
ebfb20440a
Simplify events and store listeners only in one place
2019-09-04 16:48:43 +02:00
Frederic Junod
ad51c7c08f
Use CanvasLineCap type instead of string
2019-07-05 11:11:35 +02:00
Frederic Junod
7a8a0c18ae
Use CanvasLineJoin type instead of string
2019-07-05 11:07:10 +02:00
Frederic Junod
9aa11d2e11
Update the circle style after setRadius calls
2019-06-25 10:42:52 +02:00
Frederic Junod
0d6368d4ec
Remove underscore from protected function, fix indentation, remove typecast
2019-06-25 10:40:11 +02:00
Frederic Junod
50343afa61
Remove unnecessary typecasts in constructors options
2019-06-03 09:08:41 +02:00
Frederic Junod
a0e6af425e
Add tests for listenImage function, fix private variables initialization
2019-05-16 16:42:37 +02:00
Tim Schaub
ee9a0bcd05
Stop listening for image decoding
2019-05-16 08:06:12 -06:00
Frederic Junod
2e34dd0faf
Use HTMLImageElement.decode if available
2019-05-16 08:53:29 +02:00
Frederic Junod
08dd5f58a2
Set the default values after the property name
2019-04-15 16:44:06 +02:00
ahocevar
b33ceaa400
More efficient default fill color
2019-03-19 13:57:10 +01:00
Frederic Junod
4cb9b1eeb3
Add setRotateWithView function to ol/style/Text
2019-02-19 14:20:58 +01:00
Frederic Junod
f0a97ee460
Fix comments indentation
2019-02-19 14:12:14 +01:00
Frederic Junod
6bab8793a2
Remove deprecated {get,set}SnapToPixel functions
2019-02-18 14:07:27 +01:00
Frederic Junod
c0a860a31f
Remove unnecessary type cast
2019-02-13 11:42:22 +01:00
Frederic Junod
3193de0906
Only schedule the icon cache expire when it's needed
2018-12-19 14:34:22 +01:00
Frederic Junod
0ec769c234
Remove getChecksum functions
2018-12-14 13:00:35 +01:00
Frederic Junod
1bb1e3c542
Remove Atlas and AtlasManager
2018-12-14 13:00:35 +01:00
Frederic Junod
d2cae9d3b7
Remove type cast in ol/style/AtlasManager
2018-12-12 14:45:51 +01:00
Frederic Junod
b3520f8217
Remove CANVAS_LINE_DASH from ol/has
...
Test if `context.setLineDash` is defined instead.
2018-12-07 13:15:23 +01:00
Niklas Alt
4bc9216e41
Add ': void' to non returning functions (error TS7014)
2018-12-06 19:57:45 +01:00
Frederic Junod
0189e8345d
Remove WebGL references in comments
2018-11-16 14:05:06 +01:00
Frederic Junod
caaf8cb86f
Simplify import path in ol/style/
2018-11-05 16:26:45 +01:00
ahocevar
1cdd040c96
Throw when calling abstract methods; fix abstract return types
2018-10-30 18:55:49 +01:00
Frederic Junod
1a0f398f1f
Fix wrong filename in type annotation
2018-10-17 15:47:15 +02:00
Frederic Junod
041836c645
Change getUid return type from number to string
2018-10-17 10:22:53 +02:00
ahocevar
9163558511
Replace instanceof checks with other logic
2018-10-12 20:35:59 +02: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
124fccf127
Fix style TypeScript errors
2018-09-17 12:38:00 -06:00
ahocevar
fc5aafe9fe
Lazily detect tainted canvas
2018-09-10 10:13:41 +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
Marc Jansen
99245b47f7
Better type annotation
2018-09-03 21:17:56 +02:00
Frederic Junod
25c1754052
Cast empty optional options in constructor
...
To remove the typescript errors:
```
Property 'xxx' does not exist on type '{}'
```
2018-09-03 09:40:59 +02:00
Matthias Schiffer
321166849b
Consistently use lowercase HTML tag names
...
Unlike HTML, XHTML is case-sensitive.
2018-08-18 12:48:14 +02:00
ahocevar
f382ddf230
Remove snapToPixel option and deprecate getters/setters
2018-08-09 18:16:58 +02:00
Tim Schaub
6cfa2b22a7
Explicit void
2018-07-26 10:46:39 -06:00
Tim Schaub
40486a0ecc
Avoid shadowing EventTarget
2018-07-26 10:14:58 -06: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
6f22f1b7ac
Param name on same line as type
2018-07-23 16:28:22 -07:00