Commit Graph

42 Commits

Author SHA1 Message Date
Marc Jansen 183b8e29c4 Named exports from ol/transform 2018-02-15 17:55:54 +01:00
Tim Schaub ce12dc1253 Named exports from ol/renderer/vector 2018-02-09 10:20:33 -07:00
Frederic Junod 2139db7437 Rename _ol_render_canvas_LineStringReplay_ to CanvasLineStringReplay 2018-01-15 10:09:32 +01:00
Frederic Junod 73db907e99 Rename _ol_render_canvas_PolygonReplay_ to CanvasPolygonReplay 2018-01-15 10:08:31 +01:00
Frederic Junod e0f910a7ba Rename _ol_render_canvas_Replay_ to CanvasReplay 2018-01-15 10:04:14 +01:00
Frederic Junod 85e1a6b54f Rename _ol_render_canvas_ReplayGroup_ to CanvasReplayGroup 2018-01-15 09:50:15 +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
Tim Schaub f4484455aa Rename _ol_style_Stroke_ to Stroke 2018-01-11 13:24:13 -07:00
Tim Schaub dc6ae2293d Rename _ol_style_Fill_ to Fill 2018-01-11 13:23:27 -07:00
Tim Schaub 4f4c90fc20 Rename _ol_style_Style_ to Style 2018-01-11 13:22:43 -07:00
Tim Schaub 22fce4f97b Rename _ol_Feature_ to Feature 2018-01-10 09:35:35 -07:00
Tim Schaub 4ea0af87df Rename _ol_geom_GeometryCollection_ to GeometryCollection 2017-12-14 08:59:35 -07:00
Tim Schaub 9d396280b0 Rename _ol_geom_MultiPolygon_ to MultiPolygon 2017-12-14 08:56:51 -07:00
Tim Schaub c502f016f7 Rename _ol_geom_Polygon_ to Polygon 2017-12-14 08:56:12 -07:00
Tim Schaub 3c78cb7872 Rename _ol_geom_MultiLineString_ to MultiLineString 2017-12-14 08:55:33 -07:00
Tim Schaub f7b3876c1b Rename _ol_geom_LineString_ to LineString 2017-12-14 08:54:53 -07:00
Tim Schaub ad5806c29d Rename _ol_geom_MultiPoint_ to MultiPoint 2017-12-14 08:51:53 -07:00
Tim Schaub eadec38ae2 Rename _ol_geom_Point_ to Point 2017-12-14 08:49:10 -07:00
Tim Schaub 87295a74dd Use named exports from ol/index.js 2017-12-12 12:34:23 -07:00
Tim Schaub 8a9bbd6264 Separate example scripts for dev and prod 2017-12-12 06:56:19 -07:00
Tim Schaub 7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Andreas Hocevar 6469d3e864 Handle pixelRatio on replay creation instead of replay 2017-08-31 21:41:07 +02:00
Andreas Hocevar 35bd92b713 Prerender labels and cache them as images 2017-08-31 21:41:07 +02:00
Tim Schaub a3e3e99baa Get rid of useless test exports 2017-08-17 15:16:58 -04:00
Tim Schaub 73afb656d7 Test fixes 2017-08-16 14:24:42 -04:00
Tim Schaub 46bcce464f Add missing requires to tests 2017-08-16 13:43:28 -04:00
Andreas Hocevar 617151c8ff Simplify the renderer function API 2017-08-05 00:15:58 +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
Andreas Hocevar 76cae0e63f Make sure moveTo is called after beginPath 2017-01-13 19:32:26 +01:00
Andreas Hocevar 2296ca3942 Do not skip moveTo calls after fill 2017-01-11 17:38:31 +01:00
Thomas Chandelle 7a4ae3a6ac Line Dash offset 2017-01-04 11:19:47 +01:00
Andreas Hocevar 132be598e7 Test array with to.eql(), not to.be.eql() 2016-12-06 16:03:35 +01:00
Thomas Chandelle 3b64133f21 Add tests for linedash for HiDPI display 2016-12-05 09:26:06 +01:00
Andreas Hocevar e7bc7121d6 Add option to skip first coordinate for use with closePath() 2016-09-13 02:14:12 +02:00
Andreas Hocevar 129757578d Do not repeat first vertex when closed is true 2016-09-13 02:13:30 +02:00
Andreas Hocevar 457de34485 Merge pull request #5708 from ahocevar/no-closepath
Remove unnecessary closePath() instructions
2016-08-25 17:05:52 +02:00
Andreas Hocevar 65d03bfbfb Bail out when there is no fill and stroke 2016-08-25 16:40:31 +02:00
Andreas Hocevar 395793b921 Additional tests and code comments 2016-08-24 11:44:15 +02:00
Andreas Hocevar 7e940e618e Introduce new overlaps option for Vector and VectorTile sources
Instead of deciding whether to batch fills and strokes by looking at the
opacity of the style, we now rely on user input.
2016-08-23 12:05:03 +02:00
Andreas Hocevar eed52552a9 Batch polygon and circle fills and strokes 2016-08-23 12:05:03 +02:00
Tim Schaub ed5dbd1293 Put test requires on top 2016-08-08 09:58:11 -06:00
Tim Schaub 424f3e5577 Move renderer files so they are named like their provides 2016-08-07 10:49:11 -06:00