Commit Graph
522 Commits
Author SHA1 Message Date
Frederic Junod b50a47114e Move the nullFunction to ol/functions
And rename it to `UNDEFINED`.
2018-03-01 14:41: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
Frederic Junod 2132229d68 Named exports from ol/render/canvas/ReplayGroup 2018-02-21 09:15:53 +01:00
Frederic Junod 16b732472f Named exports from ol/render/canvas/TextReplay 2018-02-21 09:13:33 +01:00
Tim Schaub fba4d82bdb Named exports from ol/geom/SimpleGeometry 2018-02-19 10:05:30 -07:00
Tim Schaub 4e0eaae9da Merge pull request #7840 from raiyni/render_webgl
More export renaming
2018-02-18 21:46:54 -07:00
Frederic Junod 4cad77089a Better code indentation 2018-02-16 14:34:00 +01:00
raiyni b5b3e256f8 ol/render/replay export 2018-02-15 22:54:02 -06: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
Tim Schaub d2c18a505a Merge pull request #7820 from raiyni/geom
ol/geom/flat/* exports
2018-02-14 04:07:09 -07:00
raiyni b2d920bbf1 ol/geom/flat/transform export 2018-02-13 09:22:00 -06:00
Frederic Junod 95dff19070 Add new canvas instruction array in ol/render/canvas/Instruction
Don't re-create the arrays on every replay group
2018-02-13 08:31:44 +01:00
raiyni 837490b4a4 ol/geom/flat/simplify export 2018-02-13 00:08:20 -06:00
raiyni 78b418ba9d ol/geom/flat/straightchunk export 2018-02-12 23:42:11 -06:00
raiyni 2550ab1691 ol/geom/flat/textpath export 2018-02-12 23:34:21 -06:00
raiyni 05a648d4f3 ol/geom/flat/length export 2018-02-12 23:27:38 -06:00
raiyni fd78aa9798 ol/geom/flate/inflate exports 2018-02-12 23:06:02 -06:00
Frederic Junod 11f464f7ff Remove private static members from ol/render/canvas/ReplayGroup 2018-02-10 09:08:47 +01:00
Tim Schaub 9cfee0f40b Named exports from ol/has 2018-02-05 10:42:47 -07:00
Frederic Junod 4504c422ae Rename _ol_render_canvas_Instruction_ to CanvasInstruction 2018-02-05 12:40:44 +01:00
Frederic Junod 039d4dc714 Better variables scoping 2018-01-17 16:07:36 +01:00
Frederic Junod 4c5ca75ca6 Better variables scoping 2018-01-17 10:54:18 +01:00
Frederic Junod 31e30d28b7 Named exports from ol/obj 2018-01-16 14:14:17 +01: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 c890db50b9 Rename _ol_render_canvas_TextReplay_ to CanvasTextReplay 2018-01-15 10:07:22 +01:00
Frederic Junod e0f910a7ba Rename _ol_render_canvas_Replay_ to CanvasReplay 2018-01-15 10:04:14 +01:00
Frederic Junod 5657f3a3fa Rename _ol_render_webgl_ImageReplay_w_ol_render_canvas_ImageReplay_ to CanvasImageReplay 2018-01-15 09:57:57 +01:00
Frederic Junod 85e1a6b54f Rename _ol_render_canvas_ReplayGroup_ to CanvasReplayGroup 2018-01-15 09:50:15 +01:00
Frederic Junod 53dc86b1b2 Rename _ol_render_ReplayGroup_ to ReplayGroup 2018-01-15 09:47:53 +01:00
Tim Schaub 50890c93e2 Declare feature in the correct scope 2018-01-12 00:51:13 -07: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 d840eab615 Rename _ol_render_canvas_Immediate_ to ImmediateCanvasRenderer 2018-01-11 11:58:26 -07:00
Frederic Junod d0cdd0441a Rename _ol_render_VectorContext_ to VectorContext 2018-01-11 14:05:55 +01:00
Andreas Hocevar 953c5d6151 Refactor to avoid replayType member and binding 2018-01-09 15:43:20 +01:00
Andreas Hocevar 9397c41e6c Use declutter tree only for text and image replays 2018-01-09 15:41:45 +01:00
Andreas Hocevar ad8f847465 Consider background box with stroke for hit detection 2018-01-01 12:32:26 +01:00
Andreas Hocevar 745bf3d79f Hit-detect background fill and stroke 2018-01-01 12:32:26 +01:00
Andreas Hocevar c5a2c2fd22 Apply fill and stroke only when set 2017-12-26 19:34:27 +01:00
Marc Jansen 02002082bf Named exports from ol/array module 2017-12-19 17:22:58 +01:00
Marc Jansen 767f61ba78 Merge pull request #7637 from marcjansen/named-exports-color
Named exports from the ol/color module
2017-12-19 17:11:03 +01:00
Marc Jansen 295c2973b5 Named exports from ol/color module 2017-12-19 13:56:54 +01:00
Frederic Junod 11f1c693a8 Rename _ol_render_ReplayType_ to ReplayType 2017-12-18 16:39:07 +01:00
Frederic Junod 424ea22131 Rename _ol_style_TextPlacement_ to TextPlacement 2017-12-18 10:53:12 +01:00
Frederic Junod 0bc28323c8 Simplify default export
This removes unnecessary variable declarations where the default object is an object.
2017-12-15 15:21:25 +01:00
Frederic Junod 6e83a15bd6 Named exports from ol/colorlike 2017-12-15 08:51:18 +01:00
Tim Schaub fca8b13ddd Rename _ol_geom_SimpleGeometry_ to SimpleGeometry 2017-12-14 09:03:51 -07:00
Tim Schaub 504368369c Rename _ol_geom_GeometryType_ to GeometryType 2017-12-14 09:00:57 -07:00
Frederic Junod f6627c4d4e Named exports from ol/dom 2017-12-14 12:27:09 +01:00