Andreas Hocevar
29ce0bb223
Fix private scope issues in source/UrlTile and subclasses
2020-04-15 10:53:26 +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
Frédéric Junod
d8cbda18a7
Merge pull request #10840 from fredj/remove_inheritDoc
...
Remove inherit doc
2020-04-04 14:06:43 +02:00
Frederic Junod
615ae71a8f
Remove all inheritDoc tags from src/ol/source
2020-04-03 07:56:58 +02:00
mike-000
dfcc649c59
Merge branch 'master' into patch-4
2020-04-02 22:37:36 +01:00
mike-000
1cd4d37c45
change option name to imageSmoothing
2020-04-02 18:44:07 +01:00
Mateusz Łoskot
98e8bec370
Calculate tile grid extent from extent of bottom-level tile matrix
...
Prefers extent derived from the tile matrix set in the capabilities
over default projection extent.
2020-03-26 19:17:32 +01:00
mike-000
7af9697b40
Merge branch 'master' into patch-4
2020-02-28 12:20:06 +00:00
Andreas Hocevar
a072e3acea
Ignore user provided tile cache size when too small
2020-02-27 13:41:21 +01: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
Jonas
5dbd1e4cbb
Fix typo in jsdoc
2019-11-14 08:50:35 +01:00
ahocevar
0f217392d7
Adjust tile cache size when too small
2019-03-12 00:19:13 +01:00
Frederic Junod
1ba85a11e9
Change 'cacheSize' description in typedef
2019-01-25 16:50:17 +01:00
ahocevar
b6d115d868
Make tile cache smaller and screen size dependant
2019-01-21 22:35:48 +01:00
Tim Schaub
e9a30c5cb7
Use standard tile coords
2018-11-21 11:14:17 -07:00
Frederic Junod
087b024a24
Change projection property in sources options to optional
...
The `projection` property is not mandatory, the view's projection is used if not provided.
2018-11-21 16:23:29 +01:00
Frederic Junod
0189e8345d
Remove WebGL references in comments
2018-11-16 14:05:06 +01:00
Frederic Junod
c12b41f8c6
Simplify import path in ol/source/
2018-11-05 16:26:45 +01:00
Roman Zoller
43b9f70077
Clarify format option for ol/source/WMTS
2018-10-15 13:29:19 +02:00
Frederic Junod
ad3f248825
Fix format and version properties in ol/source/WMTS Options typedef
2018-10-12 08:51:03 +02:00
ahocevar
4aff3d0631
Simplify logic for fixed tile url functions
2018-10-02 17:26:22 +02:00
Kevin Schmidt
7dbe38358a
Replace TileClass with typeof ImageTile
2018-10-01 08:37:01 -06:00
Frederic Junod
7eee6ba07a
Remove '=' from type when the parameter is not optional
2018-09-27 10:00:02 +02:00
William Wall
0994362bfe
Cast tileGrid to WMTSTileGrid for type check
2018-09-19 10:31:28 -06: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
Guillaume Beraudo
315cfa1033
Fix WMTS layers URLs with dimensions
2018-08-16 15:34:56 +02:00
ahocevar
1eeea2aa4d
Use class method syntax instead of .prototype.method = function
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
d46471d763
Replace {@link https://www.example.com/ } with https://www.example.com/
2018-07-19 08:34:35 -06:00
Frederic Junod
323eb3f251
Fix reprojectionErrorThreshold property type
2018-07-19 16:02:58 +02:00
ahocevar
9ed3540edf
Fix this access in WMTS source
2018-07-18 16:29:53 +02:00
ahocevar
8991dc9718
Do not use this before super()
2018-07-18 12:09:04 +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
f78d0d4cfa
Manual class transform
2018-07-16 17:09:50 -06:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
Frederic Junod
d8e0212833
Module type for ol.source.*
2018-04-26 15:18:44 +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
Tim Schaub
c75b87a2a0
Correct type for WMTS source options
2018-04-19 18:11:22 -06:00
Michael Kuenzli
71bb2ce019
Move ol.AttributionLike to ol/source/Source
2018-04-19 16:49:13 +02:00
Frederic Junod
60e319f8e1
Remove extra properties in ol/source/WMTS options
2018-04-19 15:39:26 +02:00
Frederic Junod
79bdec2b75
Module type for ol.tilegrid.WMTS
2018-04-19 15:39:26 +02:00
Frederic Junod
7ccb66e80d
Module type for ol.tilegrid.TileGrid
2018-04-19 15:39:26 +02:00
Frederic Junod
2df4d5f877
Module type for ol.TileState
2018-04-19 15:39:26 +02:00
Frederic Junod
4114f4faaa
Module type for ol.TileCoord
2018-04-19 15:39:26 +02:00