Correct type for Icon options

This commit is contained in:
Tim Schaub
2018-04-19 18:00:14 -06:00
parent 5f8a5b3502
commit 81693cefbf
5 changed files with 7 additions and 7 deletions

View File

@@ -157,7 +157,7 @@ const map = new Map({
features: [pointFeature, lineFeature, polygonFeature]
}),
style: new Style({
image: new Icon(/** @type {olx.style.IconOptions} */ ({
image: new Icon(/** @type {module:ol/style/Icon~Options} */ ({
anchor: [0.5, 46],
anchorXUnits: 'fraction',
anchorYUnits: 'pixels',