Commit Graph

510 Commits

Author SHA1 Message Date
Frederic Junod 0c300d651f Change 'Image' type to 'HTMLImageElement' 2018-06-29 09:31:32 +02:00
Tim Schaub 3b64641e5a Merge pull request #7750 from schmidtk/canvas-polygon-replay
Don't assume fill for canvas polygon hit detection.
2018-06-25 08:36:30 -06:00
ahocevar 28409486a5 Make classes in ol/ available as named exports from ol 2018-06-21 18:08:17 +02:00
ahocevar 976bb6b23c Indicate required fill alignment with boolean 2018-05-22 16:30:42 +02:00
ahocevar 7cfa65b8c3 Align patterns and gradients to a grid 2018-05-22 16:05:32 +02:00
Frederic Junod b34cdb58e3 Set textAlign to the canvas context 2018-05-17 13:15:04 +02:00
ahocevar 26b84f09bd Do not scale text outline width 2018-05-13 18:04:53 -05:00
Frederic Junod af1f6836af Shorter module paths for default exports 2018-05-09 11:24:43 +02:00
Tim Schaub 750ba4bca4 Merge pull request #8166 from tschaub/types
Updated type annotations
2018-05-08 05:45:09 -07:00
Tim Schaub 5a9fad218b Remove *.jsdoc files 2018-05-07 21:53:20 -06:00
Tim Schaub 8e7c88d9a5 Updated type annotations 2018-05-07 15:50:56 -06:00
ahocevar 16cad06e57 Fix skipping of texts with background 2018-05-06 16:05:46 +02:00
ahocevar 440d1ad3e1 Shorter module paths for default exports 2018-04-25 17:25:39 +02:00
Frederic Junod 48910e01ed Module type for ol.render.ReplayGroup 2018-04-20 15:12:20 +02:00
Frederic Junod 7f7c4df786 Module type for ol.render.canvas.TextReplay 2018-04-20 15:09:30 +02:00
Frederic Junod 446fb1939e Module type for ol.render.canvas.Instruction 2018-04-20 15:07:50 +02:00
Frederic Junod d0fbbe7d23 Module type for ol.render.canvas.Replay 2018-04-20 15:03:44 +02:00
Frederic Junod 5d22d711f8 Module type for ol.render.ReplayType 2018-04-20 14:58:49 +02:00
Frederic Junod 7701c5fd3a Module type for ol.render.Feature 2018-04-20 14:53:56 +02:00
Frederic Junod 3c0c4cd155 Module type for ol.render.VectorContext 2018-04-20 14:41:11 +02:00
Frederic Junod ae5e24a6c3 Module type for ol.render.Event 2018-04-20 14:32:23 +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
Michael Kuenzli 5e810ccc6a Move olx.render.State to ol/render 2018-04-19 17:41:00 +02:00
Frederic Junod d8fd51a537 Remove unused private variable 2018-03-28 08:56:36 +02:00
Frederic Junod e9ce23a461 Move the temporary arrays to the module level
No need to create a new variable for each instance.
2018-03-28 08:55:27 +02:00
Frederic Junod 7cbc22fece Module type for ol.style.* 2018-03-27 15:09:52 +02:00
Frederic Junod ce726ed9dd Module type for ol.layer.Vector 2018-03-23 08:44:21 +01:00
Frederic Junod 48740f0026 Move RBush typedefs out of src/ol/typedefs.js 2018-03-22 17:13:48 +01:00
Frederic Junod f5aa7d7867 Module type for ol.ColorLike 2018-03-19 09:24:32 +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
Andreas Hocevar 95d6251dbb Get rid of olx.js and typedef.js typedefs for ol 2018-03-08 18:57:24 +01:00
Frederic Junod 3435ac575e Better type definition
Fixes the `Invalid type(s) for operator IN.` warnings from the closure compiler.
2018-03-07 16:45:46 +01:00
Frederic Junod 500a017faf Better code indentation 2018-03-05 15:36:40 +01:00
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