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
ahocevar
62188502e9
Check font availability in 3 different weight ranges
2018-08-02 18:57:26 +02: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
8e7c88d9a5
Updated type annotations
2018-05-07 15:50:56 -06:00
Frederic Junod
76769f9901
Module type for ol.struct.*
2018-04-26 15:16:21 +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
Frederic Junod
3edbbf0b46
Module type for ol.Color
2018-03-19 09:25:45 +01:00
Andreas Hocevar
95d6251dbb
Get rid of olx.js and typedef.js typedefs for ol
2018-03-08 18:57:24 +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
Andreas Hocevar
445c49c1eb
Add a unicode symbol for symbol font detection
2018-02-27 13:22:35 +01:00
Andreas Hocevar
fff957a199
Allow setting the label cache size
2018-02-16 11:36:58 +01:00
Marc Jansen
183b8e29c4
Named exports from ol/transform
2018-02-15 17:55:54 +01:00
Tim Schaub
0948d4002f
Named exports from ol/render/canvas
2018-02-14 09:43:20 -07:00
Frederic Junod
31e30d28b7
Named exports from ol/obj
2018-01-16 14:14:17 +01:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Andreas Hocevar
e2af5f6be3
Check fonts against two reference fonts
...
In rare cases, the previous font check returned false negatives when
checking against monospace only. By checking against another font, this
can be avoided.
2018-01-03 10:34:18 +01:00
Marc Jansen
a7c5897bdb
Named exports from ol/css module
2017-12-19 11:38:56 +01:00
Frederic Junod
e887b5012b
Rename _ol_structs_LRUCache_ to LRUCache
2017-12-17 09:00:48 +01:00
Frederic Junod
f6627c4d4e
Named exports from ol/dom
2017-12-14 12:27:09 +01:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Andreas Hocevar
c35789ba73
Add and improve tests
2017-11-16 11:52:26 +01:00
Andreas Hocevar
febbba78dc
Reset text measurements when available fonts change
2017-11-15 18:44:26 +01:00
Andreas Hocevar
1afc686af9
Add text background rendering and text padding
2017-11-12 22:49:32 +01:00
Andreas Hocevar
4324d49813
Attempt to make font loading tests more stable
...
Also changes things to use setInterval() instead of setTimeout().
2017-11-10 08:34:30 +01:00
Andreas Hocevar
72eb8ab5e8
Define font as variable
2017-11-03 13:52:06 +01:00
Andreas Hocevar
5483fa3181
More efficient font checking loop
2017-11-03 13:52:06 +01:00
Andreas Hocevar
8c46f6d1f0
Workaround for a Safari issue
2017-11-03 13:04:06 +01:00
Andreas Hocevar
7f865b8520
Check if fonts are available and redraw when label cache was cleared
2017-11-03 13:04:06 +01:00
Andreas Hocevar
08af207724
Add decluttering for images and text
2017-10-31 11:33:48 +01:00
Thomas Chandelle
7a4ae3a6ac
Line Dash offset
2017-01-04 11:19:47 +01:00
Tim Schaub
ef04f466cd
Name modules more like their provide
2016-12-18 11:24:01 -07:00