Commit Graph

519 Commits

Author SHA1 Message Date
Tim Schaub 6f22f1b7ac Param name on same line as type 2018-07-23 16:28:22 -07:00
ahocevar bbe0a66d07 Set api annotation on classdesc, not constructor 2018-07-21 17:25:22 +02:00
Tim Schaub b8c9125602 Remove lint 2018-07-18 10:35:54 -06:00
Frederic Junod 65b306891b Remove 'struct' jsdoc tags, code indentation 2018-07-18 09:07:27 +02:00
Tim Schaub 9ce36da349 Remove @extends and @constructor annotations 2018-07-18 00:36:29 -06:00
Tim Schaub b7b15eb7f0 Remove unused inherits 2018-07-18 00:13:43 -06:00
Tim Schaub 1a5cf52b61 Remove remaining use of inherits in src 2018-07-17 23:43:10 -06:00
Tim Schaub d0ab8dce38 Lint removal 2018-07-16 17:57:57 -06:00
Tim Schaub 7b4a73f3b9 Automated class transform
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
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