Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding exports for icon and feature

  • Loading branch information...
commit 2147674e2f4eb2017a4ecf2fd005db26293b5c89 1 parent 345bb55
@ahocevar ahocevar authored
View
7 src/objectliterals.exports
@@ -143,6 +143,13 @@
@exportObjectLiteralProperty ol.source.TiledWMSOptions.url string|undefined
@exportObjectLiteralProperty ol.source.TiledWMSOptions.urls Array.<string>|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
View
2  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
View
10 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
Please sign in to comment.
Something went wrong with that request. Please try again.