diff --git a/src/objectliterals.exports b/src/objectliterals.exports index 8df22dc74e..dae5ee0510 100644 --- a/src/objectliterals.exports +++ b/src/objectliterals.exports @@ -143,6 +143,13 @@ @exportObjectLiteralProperty ol.source.TiledWMSOptions.url string|undefined @exportObjectLiteralProperty ol.source.TiledWMSOptions.urls Array.|undefined +@exportObjectLiteral ol.style.IconOptions +@exportObjectLiteralProperty ol.style.IconOptions.url string|ol.Expression +@exportObjectLiteralProperty ol.style.IconOptions.width number|ol.Expression|undefined +@exportObjectLiteralProperty ol.style.IconOptions.height number|ol.Expression|undefined +@exportObjectLiteralProperty ol.style.IconOptions.opacity number|ol.Expression|undefined +@exportObjectLiteralProperty ol.style.IconOptions.rotation number|ol.Expression|undefined + @exportObjectLiteral ol.style.LineOptions @exportObjectLiteralProperty ol.style.LineOptions.strokeStyle string|ol.Expression|undefined @exportObjectLiteralProperty ol.style.LineOptions.strokeWidth number|ol.Expression|undefined diff --git a/src/ol/style.exports b/src/ol/style.exports index 9b47275dfb..8df1a0a1bd 100644 --- a/src/ol/style.exports +++ b/src/ol/style.exports @@ -1,7 +1,9 @@ +@exportClass ol.style.Icon ol.style.IconOptions @exportClass ol.style.Line ol.style.LineOptions @exportClass ol.style.Polygon ol.style.PolygonOptions @exportClass ol.style.Rule ol.style.RuleOptions @exportClass ol.style.Shape ol.style.ShapeOptions @exportClass ol.style.Style ol.style.StyleOptions +@exportSymbol ol.style.IconType @exportSymbol ol.style.ShapeType @exportProperty ol.style.ShapeType.CIRCLE diff --git a/src/ol/style/icon.js b/src/ol/style/icon.js index 251981b6d3..16e2e90b34 100644 --- a/src/ol/style/icon.js +++ b/src/ol/style/icon.js @@ -57,16 +57,6 @@ ol.style.IconLiteral.prototype.equals = function(iconLiteral) { }; -/** - * @typedef {{url: (string|ol.Expression), - * width: (number|ol.Expression|undefined), - * height: (number|ol.Expression|undefined), - * opacity: (number|ol.Expression|undefined), - * rotation: (number|ol.Expression|undefined)}} - */ -ol.style.IconOptions; - - /** * @constructor