Simon Seyock
8facb252f1
Replace google closure syntax = with brackets around name
2021-02-03 14:06:02 +01:00
Tim Schaub
054af09032
Make code prettier
...
This updates ESLint and our shared eslint-config-openlayers to use Prettier. Most formatting changes were automatically applied with this:
npm run lint -- --fix
A few manual changes were required:
* In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
* In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason. While editing this, I reworked `ExampleBuilder` to be a class.
* In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Frédéric Junod
d8cbda18a7
Merge pull request #10840 from fredj/remove_inheritDoc
...
Remove inherit doc
2020-04-04 14:06:43 +02:00
Andreas Hocevar
58b92aca6f
Merge pull request #10463 from pjsg/fix_triangulation
...
Fix issue with reprojection and double drawing pixels.
2020-04-04 09:44:28 +02:00
Frederic Junod
9e862c1111
Remove all inheritDoc tags from src/ol/
2020-04-03 08:20:49 +02:00
philip
a308e9ee13
Merge remote-tracking branch 'origin/master' into fix_triangulation
2020-04-02 22:58:59 +00:00
mike-000
dfcc649c59
Merge branch 'master' into patch-4
2020-04-02 22:37:36 +01:00
mike-000
7af9697b40
Merge branch 'master' into patch-4
2020-02-28 12:20:06 +00:00
philip
d2b0599177
Dynamically chose the number of subdivisions based on the size of the Image.
2020-01-14 13:39:52 +00:00
philip
6666014721
Merge remote-tracking branch 'origin/master' into fix_triangulation
...
Conflicts:
src/ol/TileCache.js
2020-01-11 17:36:40 +00:00
Andreas Hocevar
ae336f0a1b
Remove disposeInternal of ImageTile and reproj/Tile
2020-01-05 00:13:05 +01:00
philip
a6b1df3574
Fix missing corners of the world
2019-12-28 17:47:53 +00:00
mike-000
560931e976
Set reprojection canvas context options
...
Add example of disabling image smoothing
Add test for reprojection context options
2019-12-20 11:41:42 +00:00
Frederic Junod
f67476dd8f
Mark properties as nullable
2019-09-27 13:57:59 +02:00
Frederic Junod
71ac0b18a9
Simplify import path in ol/reproj/
2018-11-05 16:26:45 +01:00
Tim Schaub
ccfacc5ee6
Transformed types
...
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e ):
jscodeshift --transform ts.js src
2018-09-05 08:05:29 -06:00
ahocevar
2f92e48e93
Use super.method instead of prototype.method.call
2018-08-06 15:30:17 +02:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
ahocevar
bbe0a66d07
Set api annotation on classdesc, not constructor
2018-07-21 17:25:22 +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
7b4a73f3b9
Automated class transform
...
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Frederic Junod
97d2266389
Module type for ol.reproj.Triangulation
2018-04-20 15:05:57 +02:00
Frédéric Junod
873c627cda
Merge pull request #8052 from fredj/jsdoc_module
...
More Jsdoc module fixes
2018-04-19 16:22:52 +02:00
Frederic Junod
bf40002af0
Module type for ol.source.TileImage
2018-04-19 15:39:25 +02:00
Michael Kuenzli
edce9e9435
Move ol.ReprojTileFunctionType to ol/reproj/Tile
2018-04-18 16:35:30 +02:00
Frederic Junod
93b2fe0e95
Module type for ol.Tile
2018-03-19 14:31:04 +01:00
Frederic Junod
76fb0edf0d
Use path type instead of ol.tilegrid.TileGrid
2018-03-15 14:20:49 +01:00
Tim Schaub
a743ec3989
Module types for ol/proj
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
Tim Schaub
9c1db1f904
Named exports from ol/reproj
2018-02-09 10:04:03 -07:00
Tim Schaub
7e7631c42a
Named exports from ol/events
2018-01-24 10:09:57 -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
84e93efe5c
Rename _ol_reproj_Triangulation_ to Triangulation
2018-01-11 12:06:58 -07:00
Tim Schaub
1552f27a43
Rename _ol_Tile_ to Tile
2018-01-11 12:06:58 -07:00
Tim Schaub
2efdf7982c
Rename _ol_reproj_Tile_ to ReprojTile
2018-01-11 12:06:58 -07:00
Frederic Junod
fc00aecd2e
Rename _ol_TileState_ to TileState
2017-12-22 09:00:46 +01:00
Ron Young
a11208d126
rename _ol_math_ imports
2017-12-20 19:31:00 -06:00
simonseyock
3e82c37bed
removes opt_this from ol.Collection#forEach
...
this commit also removes all uses of the standard thisArg of
Array#forEach.
2017-12-19 13:14:20 +01:00
Marc Jansen
479c7a4668
Rename _ol_events_EventType_ to EventType
2017-12-15 16:19:03 +01:00
Andreas Hocevar
c0c43bca84
Use named imports from extent
2017-12-13 14:05:42 +01:00
Tim Schaub
8bf00cbfb7
Move raster reprojection error threshold to a common reproj module
2017-12-12 17:15:46 -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
Tim Schaub
1cdb6a66f0
Imports cased like the filename
2017-12-12 06:53:17 -07:00