Fix types in olx.js
This commit is contained in:
+34
-19
@@ -106,6 +106,20 @@ olx.GeolocationOptions.prototype.projection;
|
||||
olx.LogoOptions;
|
||||
|
||||
|
||||
/**
|
||||
* Link url for the logo. Will be followed when the logo is clicked.
|
||||
* @type {string}
|
||||
*/
|
||||
olx.LogoOptions.prototype.href;
|
||||
|
||||
|
||||
/**
|
||||
* Image src for the logo
|
||||
* @type {string}
|
||||
*/
|
||||
olx.LogoOptions.prototype.src;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{map: (ol.Map|undefined),
|
||||
* maxLines: (number|undefined),
|
||||
@@ -1176,6 +1190,7 @@ olx.format.PolylineOptions;
|
||||
/**
|
||||
* The factor by which the coordinates values will be scaled.
|
||||
* Default is `1e5`.
|
||||
* @type {number}
|
||||
*/
|
||||
olx.format.PolylineOptions.prototype.factor;
|
||||
|
||||
@@ -2769,7 +2784,7 @@ olx.source.FormatVectorOptions.prototype.format;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.FormatVectorOptions.prototype.logo;
|
||||
|
||||
@@ -2811,7 +2826,7 @@ olx.source.GeoJSONOptions.prototype.defaultProjection;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.GeoJSONOptions.prototype.logo;
|
||||
|
||||
@@ -2882,7 +2897,7 @@ olx.source.GPXOptions.prototype.doc;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.GPXOptions.prototype.logo;
|
||||
|
||||
@@ -2957,7 +2972,7 @@ olx.source.TileImageOptions.prototype.crossOrigin;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.TileImageOptions.prototype.logo;
|
||||
|
||||
@@ -3055,7 +3070,7 @@ olx.source.TileVectorOptions.prototype.format;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.TileVectorOptions.prototype.logo;
|
||||
|
||||
@@ -3133,7 +3148,7 @@ olx.source.TopoJSONOptions.prototype.defaultProjection;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.TopoJSONOptions.prototype.logo;
|
||||
|
||||
@@ -3333,7 +3348,7 @@ olx.source.KMLOptions.prototype.doc;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.KMLOptions.prototype.logo;
|
||||
|
||||
@@ -3504,7 +3519,7 @@ olx.source.OSMXMLOptions.prototype.doc;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.OSMXMLOptions.prototype.logo;
|
||||
|
||||
@@ -3587,7 +3602,7 @@ olx.source.ImageCanvasOptions.prototype.canvasFunction;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.ImageCanvasOptions.prototype.logo;
|
||||
|
||||
@@ -3644,7 +3659,7 @@ olx.source.ImageVectorOptions.prototype.attributions;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.ImageVectorOptions.prototype.logo;
|
||||
|
||||
@@ -3735,7 +3750,7 @@ olx.source.ImageWMSOptions.prototype.serverType;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.ImageWMSOptions.prototype.logo;
|
||||
|
||||
@@ -3875,7 +3890,7 @@ olx.source.ImageStaticOptions.prototype.imageSize;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.ImageStaticOptions.prototype.logo;
|
||||
|
||||
@@ -3937,7 +3952,7 @@ olx.source.ServerVectorOptions.prototype.strategy;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.ServerVectorOptions.prototype.logo;
|
||||
|
||||
@@ -4045,7 +4060,7 @@ olx.source.TileWMSOptions.prototype.hidpi;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.TileWMSOptions.prototype.logo;
|
||||
|
||||
@@ -4132,7 +4147,7 @@ olx.source.VectorOptions.prototype.features;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.VectorOptions.prototype.logo;
|
||||
|
||||
@@ -4198,7 +4213,7 @@ olx.source.StaticVectorOptions.prototype.format;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.StaticVectorOptions.prototype.logo;
|
||||
|
||||
@@ -4284,7 +4299,7 @@ olx.source.WMTSOptions.prototype.crossOrigin;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.WMTSOptions.prototype.logo;
|
||||
|
||||
@@ -4424,7 +4439,7 @@ olx.source.XYZOptions.prototype.crossOrigin;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.XYZOptions.prototype.logo;
|
||||
|
||||
@@ -4524,7 +4539,7 @@ olx.source.ZoomifyOptions.prototype.crossOrigin;
|
||||
|
||||
/**
|
||||
* Logo.
|
||||
* @type{string|olx.LogoOptions|undefined}
|
||||
* @type {string|olx.LogoOptions|undefined}
|
||||
*/
|
||||
olx.source.ZoomifyOptions.prototype.logo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user