Update type annotations in examples

This commit is contained in:
Tim Schaub
2018-05-07 15:41:33 -06:00
parent ae55814875
commit cfe88663aa
9 changed files with 13 additions and 13 deletions

View File

@@ -64,7 +64,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 {ol.Size} */ (map.getSize());
const size = /** @type {module:ol/size~Size} */ (map.getSize());
const extent = map.getView().calculateExtent(size);
const source = raster.getSource();