Fix type notation in examples
This commit is contained in:
@@ -53,7 +53,7 @@ exportButton.addEventListener('click', function() {
|
||||
const dim = dims[format];
|
||||
const width = Math.round(dim[0] * resolution / 25.4);
|
||||
const height = Math.round(dim[1] * resolution / 25.4);
|
||||
const size = /** @type {module:ol/size~Size} */ (map.getSize());
|
||||
const size = map.getSize();
|
||||
const extent = map.getView().calculateExtent(size);
|
||||
|
||||
map.once('rendercomplete', function(event) {
|
||||
|
||||
Reference in New Issue
Block a user