Commit Graph

28 Commits

Author SHA1 Message Date
Frederic Junod
7cbc22fece Module type for ol.style.* 2018-03-27 15:09:52 +02:00
Frederic Junod
857b946f3e Module type for ol.events.Event 2018-03-19 14:31:04 +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
Tim Schaub
af9b74759b Merge pull request #7800 from tschaub/named-exports
More named exports
2018-02-09 21:43:24 -07:00
Tim Schaub
ce12dc1253 Named exports from ol/renderer/vector 2018-02-09 10:20:33 -07:00
Andreas Hocevar
2c718db797 Fix type annotations 2018-02-08 19:51:26 +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
Frederic Junod
11f1c693a8 Rename _ol_render_ReplayType_ to ReplayType 2017-12-18 16:39:07 +01:00
Frederic Junod
0a895a2867 Rename _ol_ImageState_ to ImageState 2017-12-18 10:51:21 +01:00
Tim Schaub
504368369c Rename _ol_geom_GeometryType_ to GeometryType 2017-12-14 09:00:57 -07:00
Tim Schaub
b8ab1ff852 Move simplify tolerance to the vector renderer 2017-12-12 16:54:01 -07:00
Tim Schaub
87295a74dd Use named exports from ol/index.js 2017-12-12 12:34:23 -07:00
Tim Schaub
7f47883c48 Transformed 2017-12-12 06:53:18 -07: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
Andreas Hocevar
efc86d59b0 Implement text rendering along paths
This commit also changes the TextReplay.drawText() signature, and moves
geometry calculation into drawText(). This improves performance where no
text needs to be rendered (TextStyle.getText() == ''), which is used often
in applications.
2017-09-11 16:54:27 +02:00
Andreas Hocevar
c6b942f185 Allow styles to configure a custom renderer
Two new examples show how custom renderers can be used to render text along
paths, and to declutter labels using 3rd party libraries.
2017-07-29 17:57:38 +02:00
Tim Schaub
137cdc04c8 Remove ol.DEBUG 2017-01-01 20:37:52 -07:00
Tim Schaub
63a8a5a2cc Dedicated module for image state enum 2016-12-27 10:11:12 -07:00
GaborFarkas
ac6408be3b Add circle replay to WebGL renderer 2016-11-23 09:51:36 +01:00
Andreas Hocevar
d1e4b33760 Rename goog.DEBUG to ol.DEBUG 2016-08-31 21:10:01 +02:00
Frederic Junod
bed95e3b5b Change ol.ImageState to ol.Image.State 2016-08-29 10:53:09 +02:00
Frederic Junod
1fecb6fd16 Remove ol.style.ImageState and use ol.ImageState instead 2016-08-29 10:39:37 +02:00
Tim Schaub
9d276982b5 Assorted missing requires 2016-08-12 10:53:50 -06:00
Tim Schaub
3a1bbc4248 Get rid of ol.render.IReplayGroup interface 2016-08-08 09:58:12 -06:00
Tim Schaub
907a65ab83 Remove unused goog.require() calls in the source 2016-08-08 09:58:10 -06:00
Tim Schaub
424f3e5577 Move renderer files so they are named like their provides 2016-08-07 10:49:11 -06:00