clone the params option

This commit is contained in:
mike-000
2022-08-24 11:36:42 +01:00
parent 08ad881d5e
commit d74379a7d9
5 changed files with 8 additions and 4 deletions
+4
View File
@@ -6,6 +6,10 @@
Future versions will no longer throw `ol/AssertionError` with an error `code`. Instead, they will throw `Error` with just the error message.
#### Updating parameters in `ol/source/ImageWMS` and `ol/source/TileWMS`
The `updateParams()` method will be the only way to update parameters. Changes made directly to the `params` object passed as a constructor option will have no effect.
### 7.0.0
#### Removal of deprecated properties and methods