Remove MousePosition's deprecated undefinedHTML option
Simplify the placeholder option to only accept strings or undefined.
This commit is contained in:
@@ -18,6 +18,10 @@ The default intervals now align with integer minutes and seconds better suited t
|
||||
|
||||
Inserting with `setAt` or `insertAt` beyond the current length used to create a sparse Collection with `undefined` inserted for any missing indexes. This will now throw an error instead.
|
||||
|
||||
#### ol/control/MousePosition
|
||||
|
||||
The control will now by default keep displaying the last mouse position when the mouse leaves the viewport. With `placeholder: ' '` you can keep the old behaviour. The `placeholder` option no longer accepts `false` as a valid value, instead simply omit the option. The `undefinedHTML` option has been removed. You should use `placeholder` instead.
|
||||
|
||||
### 6.15.0
|
||||
|
||||
#### Deprecated `tilePixelRatio` option for data tile sources.
|
||||
|
||||
Reference in New Issue
Block a user