mike-000
d74379a7d9
clone the params option
2022-08-26 10:00:11 +01:00
Tim Schaub
99612e7f9a
Remove opt_ prefix
2022-08-11 20:14:35 -06:00
mike-000
27a9f056e0
remove deprecated imageSmoothing
2022-08-03 13:25:43 +01:00
Tim Schaub
25d47ed752
Use Object.assign
2022-07-28 13:23:16 -06:00
Tim Schaub
05f9b35eeb
Use union type instead of enum for WMS server type
2022-07-15 10:48:38 +02:00
Tim Schaub
bbbca0ab78
Update ESLint config and plugins
2022-05-23 15:01:07 -06:00
Tim Schaub
e2883fb658
Deprecate the imageSmoothing option for sources
2021-12-27 15:30:48 -07:00
mike-000
ddf7ac6e42
Add zDirection to options
2021-07-09 11:32:27 +01:00
Andreas Hocevar
79f5f46d27
Remove lint
2021-06-28 18:10:51 +02:00
sbx320
6f433d8c46
Add attributionsCollapsible option to source/TileWMS and source/WMTS
2021-04-12 07:11:14 +02:00
Maximilian Krög
0d5d346bcd
Update links to external resources
2021-02-08 19:40:05 +01:00
Simon Seyock
8facb252f1
Replace google closure syntax = with brackets around name
2021-02-03 14:06:02 +01:00
mike-000
95702648b2
simplify scale calculation
...
update tests to reflect more accurate calculation
2020-08-03 23:03:56 +01:00
Andreas Hocevar
0167c2760e
Grow cache size dynamically
2020-07-11 18:04:07 +02:00
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
1cd4d37c45
change option name to imageSmoothing
2020-04-02 18:44:07 +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
Frederic Junod
0e402073da
Add more typecast for typescript
2019-09-27 13:11:30 +02:00
simonseyock
89e8d6d693
getGetLegendRequestUrl accepts a LAYER parameter now
2019-09-19 14:21:07 +02:00
Simon Seyock
b2885e86fb
Renaming of getGetFeatureInfoUrl and getGetLegendGraphicUrl
2019-09-18 10:48:18 +02:00
ahocevar
e07ff9c04e
Make zDirection configurable on tile source
2019-07-30 16:50:01 +02:00
Marc Jansen
2869ed245c
Improve documentation of getGetLegendGraphicUrl
...
This also adresses one review comment by @jahow on #9762 .
2019-07-22 17:02:30 +02:00
simonseyock
c0000e745e
make resolution in getGetLegendGraphicUrl optional
2019-07-08 15:14:13 +02:00
Kai Volland
f493f01bd0
Introduces getGetLegendGraphic method
...
Adds the `getGetLegendGraphic` method to `ImageWMS` and `TileWMS` source.
Also adds an example and corresponding tests.
2019-07-08 15:14:13 +02:00
Frederic Junod
50343afa61
Remove unnecessary typecasts in constructors options
2019-06-03 09:08:41 +02: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
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
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
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
Frederic Junod
25c1754052
Cast empty optional options in constructor
...
To remove the typescript errors:
```
Property 'xxx' does not exist on type '{}'
```
2018-09-03 09:40:59 +02:00
Guillaume Beraudo
fe86d2e7f7
Expose original getGutter
...
TileWMS objects take a gutter option but do not have a public getter
for it. This makes it convoluted for user code to recreate the object
(ex: in the case of serialization/deserialization).
- the getGutterInternal() method is renamed to getGutter;
- the getGutter(projection) method is renamed to getGutterForProjection,
which is also more explicit.
The getGutter method was not API and is only used by the renderer.
2018-08-02 17:12:41 +02:00
Tim Schaub
affbf59b77
Use Object<Foo, Bar> instead of Object.<Foo, Bar>
2018-07-25 18:33:49 -07: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
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