Commit Graph

17 Commits

Author SHA1 Message Date
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