Tim Schaub
99612e7f9a
Remove opt_ prefix
2022-08-11 20:14:35 -06:00
Andreas Hocevar
a1d68b4f66
Fix reloading tiles in case of an error with tile.load()
2022-07-21 23:23:40 +02:00
Andreas Hocevar
be6c757ff6
Don't add setImage to the API
2021-06-29 14:19:58 +02:00
mike-000
d8a5b91ad5
Make setImage() synchronous
2021-06-29 10:53:46 +01:00
mike-000
ee5553debb
Rework TileDebug to fix reprojection issue and allow {-y}
...
Add setImage method to ol/ImageTile
2021-06-29 10:53:44 +01:00
Simon Seyock
8facb252f1
Replace google closure syntax = with brackets around name
2021-02-03 14:06:02 +01:00
Andreas Hocevar
7d6e6fda28
Use a unique key for all tile classes
2020-10-13 22:35:12 +02:00
Andreas Hocevar
b0f20d6bd6
Use imports for enum types
2020-04-15 10:53:23 +02: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
Frederic Junod
9e862c1111
Remove all inheritDoc tags from src/ol/
2020-04-03 08:20:49 +02:00
Andreas Hocevar
ae336f0a1b
Remove disposeInternal of ImageTile and reproj/Tile
2020-01-05 00:13:05 +01:00
Andreas Hocevar
79ea5bf9cd
Set ABORT state in base class
2019-10-30 10:29:58 +01:00
Frederic Junod
f67476dd8f
Mark properties as nullable
2019-09-27 13:57:59 +02:00
Frederic Junod
a0e6af425e
Add tests for listenImage function, fix private variables initialization
2019-05-16 16:42:37 +02:00
Tim Schaub
ee9a0bcd05
Stop listening for image decoding
2019-05-16 08:06:12 -06:00
Frederic Junod
2e34dd0faf
Use HTMLImageElement.decode if available
2019-05-16 08:53:29 +02:00
ahocevar
9163558511
Replace instanceof checks with other logic
2018-10-12 20:35:59 +02:00
Kevin Schmidt
7dbe38358a
Replace TileClass with typeof ImageTile
2018-10-01 08:37:01 -06:00
Kevin Schmidt
accdc79c05
Use typeof to simplify JSDoc class types
2018-10-01 08:30:06 -06:00
Florent gravin
e740e7577a
Secure type of HTMLImageElement in ImageTile
2018-09-19 16:48:51 +02:00
Frederic Junod
9c52e0d6d9
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-19 14:52:58 +02:00
Frederic Junod
ea616e7751
Don't import ourselves
2018-09-06 09:05:32 +02: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
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
ahocevar
5f40b5b66b
Use extends and super for ImageTile
2018-07-17 13:47:13 +02:00
Frederic Junod
f2d0b11d24
Move jsdoc constructor comments
2018-07-17 09:59:00 +02: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
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
2c98e35d1a
Module type for ol.TileLoadFunctionType
2018-04-25 08:21:11 +02:00
ahocevar
417dd85f83
Fix some jsdoc path types
2018-04-21 10:17:53 +02: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
bca8938a02
Remove static function from ImageTile
2018-02-19 10:07:14 -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
1552f27a43
Rename _ol_Tile_ to Tile
2018-01-11 12:06:58 -07:00
Frederic Junod
fd84f9378e
Rename _ol_ImageTile_ to ImageTile
2017-12-22 09:18:27 +01:00
Frederic Junod
fc00aecd2e
Rename _ol_TileState_ to TileState
2017-12-22 09:00:46 +01:00
Marc Jansen
479c7a4668
Rename _ol_events_EventType_ to EventType
2017-12-15 16:19:03 +01:00
Frederic Junod
f6627c4d4e
Named exports from ol/dom
2017-12-14 12:27:09 +01: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