Tim Schaub
34c1a6b9ba
Replace type annotations
2018-05-07 21:21:39 -06:00
Tim Schaub
8e7c88d9a5
Updated type annotations
2018-05-07 15:50:56 -06:00
ahocevar
16cad06e57
Fix skipping of texts with background
2018-05-06 16:05:46 +02:00
Frederic Junod
76769f9901
Module type for ol.struct.*
2018-04-26 15:16:21 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
ahocevar
c23a5086ae
Fix enum types
2018-04-21 10:48:38 +02:00
Frederic Junod
48910e01ed
Module type for ol.render.ReplayGroup
2018-04-20 15:12:20 +02:00
Frederic Junod
7f7c4df786
Module type for ol.render.canvas.TextReplay
2018-04-20 15:09:30 +02:00
Frederic Junod
446fb1939e
Module type for ol.render.canvas.Instruction
2018-04-20 15:07:50 +02:00
Frederic Junod
d0fbbe7d23
Module type for ol.render.canvas.Replay
2018-04-20 15:03:44 +02:00
Frederic Junod
5d22d711f8
Module type for ol.render.ReplayType
2018-04-20 14:58:49 +02:00
Frederic Junod
7701c5fd3a
Module type for ol.render.Feature
2018-04-20 14:53:56 +02:00
Frederic Junod
3c0c4cd155
Module type for ol.render.VectorContext
2018-04-20 14:41:11 +02:00
Frederic Junod
ae5e24a6c3
Module type for ol.render.Event
2018-04-20 14:32:23 +02:00
Frederic Junod
3629cef3a5
Module type for ol.render.EventType
2018-04-20 14:31:00 +02:00
Frederic Junod
975d3f31d6
Fix FillState typedef definition
2018-04-19 17:41:08 +02:00
Tim Schaub
1c792f2d9b
Type is {string} instead of string{}
2018-04-19 17:41:08 +02:00
Michael Kuenzli
3b983564b3
Move ol.DeclutterGroup to ol/render/canvas
2018-04-19 17:41:08 +02:00
Michael Kuenzli
b740630e89
Move ol.CanvasTextState to ol/render/canvas
2018-04-19 17:41:08 +02:00
Michael Kuenzli
6096f84be2
Move ol.CanvasStrokeState to ol/render/canvas
2018-04-19 17:41:08 +02:00
Michael Kuenzli
113785f048
Move ol.CanvasFillStrokeState to ol/render/canvas
2018-04-19 17:41:08 +02:00
Michael Kuenzli
4f74bcaa31
Move ol.CanvasFillState to ol/render/canvas
2018-04-19 17:41:08 +02:00
Michael Kuenzli
5e810ccc6a
Move olx.render.State to ol/render
2018-04-19 17:41:00 +02:00
Frederic Junod
2effa1182e
Remove all comments from shaders
2018-04-03 09:54:55 +02:00
Frederic Junod
d8fd51a537
Remove unused private variable
2018-03-28 08:56:36 +02:00
Frederic Junod
e9ce23a461
Move the temporary arrays to the module level
...
No need to create a new variable for each instance.
2018-03-28 08:55:27 +02:00
Frederic Junod
7cbc22fece
Module type for ol.style.*
2018-03-27 15:09:52 +02:00
Frederic Junod
873b01bba5
Move WebGL typedefs out of src/ol/typedefs.js
2018-03-23 13:22:51 +01:00
Frederic Junod
5306490733
Module type for ol.webgl.Context
2018-03-23 12:17:42 +01:00
Frederic Junod
353a3b77b6
Module type for ol.webgl.Buffer
2018-03-23 12:16:04 +01:00
Frederic Junod
ce726ed9dd
Module type for ol.layer.Vector
2018-03-23 08:44:21 +01:00
Frederic Junod
48740f0026
Move RBush typedefs out of src/ol/typedefs.js
2018-03-22 17:13:48 +01:00
Frederic Junod
857b946f3e
Module type for ol.events.Event
2018-03-19 14:31:04 +01:00
Frederic Junod
3edbbf0b46
Module type for ol.Color
2018-03-19 09:25:45 +01:00
Frederic Junod
f5aa7d7867
Module type for ol.ColorLike
2018-03-19 09:24:32 +01:00
Frederic Junod
2d9014ce11
Module type for ol.PluggableMap
2018-03-19 08:49:56 +01:00
Frederic Junod
3ccd4c0826
Module type for ol.Disposable
2018-03-19 08:48:28 +01:00
Frederic Junod
8c58bb4332
Use 'module:ol/PluggableMap~FrameState' instead of 'olx.FrameState'
2018-03-13 16:06:46 +01: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
Andreas Hocevar
95d6251dbb
Get rid of olx.js and typedef.js typedefs for ol
2018-03-08 18:57:24 +01:00
Frederic Junod
3435ac575e
Better type definition
...
Fixes the `Invalid type(s) for operator IN.` warnings from the closure compiler.
2018-03-07 16:45:46 +01:00
Frederic Junod
500a017faf
Better code indentation
2018-03-05 15:36:40 +01:00
Tim Schaub
b3d915629e
Merge pull request #7914 from gberaudo/some_easy_window_cleanups
...
Some easy window cleanups
2018-03-03 13:04:30 -07:00
Frederic Junod
b50a47114e
Move the nullFunction to ol/functions
...
And rename it to `UNDEFINED`.
2018-03-01 14:41:18 +01:00
Guillaume Beraudo
cfa9718df9
Remove window prefix
...
The prefix is unnecessary and prevent usage in web workers.
2018-02-28 23:22:18 +01:00
Kevin Schmidt
791f8b9917
Don't assume fill for canvas polygon hit detection.
...
This brings canvas polygon hit detection in parity with WebGL, where an
unfilled polygon will not be hit detected hovering inside the polygon.
Fixes #4846
2018-02-27 13:12:46 -07:00
Andreas Hocevar
445c49c1eb
Add a unicode symbol for symbol font detection
2018-02-27 13:22:35 +01:00
Frédéric Junod
190449e816
Merge pull request #7871 from fredj/optim
...
Memory optimization
2018-02-21 16:35:27 +01:00
Frederic Junod
17a799059c
Move the temporary array to the module level
...
No need to create a new variable for each instance.
2018-02-21 15:25:47 +01:00