Merge pull request #5427 from ahocevar/auto-typedef-enum-options

Document typedefs and enums used by API symbols
This commit is contained in:
Andreas Hocevar
2016-06-07 23:58:04 +02:00
21 changed files with 61 additions and 192 deletions

View File

@@ -11,6 +11,7 @@ exports.defineTags = function(dictionary) {
canHaveType: false, canHaveType: false,
canHaveName: false, canHaveName: false,
onTagged: function(doclet, tag) { onTagged: function(doclet, tag) {
includeTypes(doclet);
var level = tag.text || "experimental"; var level = tag.text || "experimental";
if (levels.indexOf(level) >= 0) { if (levels.indexOf(level) >= 0) {
doclet.stability = level; doclet.stability = level;
@@ -25,11 +26,15 @@ exports.defineTags = function(dictionary) {
/* /*
* Based on @stability annotations, and assuming that items with no @stability * Based on @api annotations, and assuming that items with no @api annotation
* annotation should not be documented, this plugin removes undocumented symbols * should not be documented, this plugin removes undocumented symbols
* from the documentation. * from the documentation.
*/ */
var api = [];
var classes = {};
var types = {};
function hasApiMembers(doclet) { function hasApiMembers(doclet) {
return doclet.longname.split('#')[0] == this.longname; return doclet.longname.split('#')[0] == this.longname;
} }
@@ -71,8 +76,30 @@ function includeAugments(doclet) {
} }
} }
var api = []; function extractTypes(item) {
var classes = {}; item.type.names.forEach(function(type) {
var match = type.match(/^(.*<)?([^>]*)>?$/);
if (match) {
types[match[2]] = true;
}
});
}
function includeTypes(doclet) {
if (doclet.params && doclet.kind != 'class') {
doclet.params.forEach(extractTypes);
}
if (doclet.returns) {
doclet.returns.forEach(extractTypes);
}
if (doclet.isEnum) {
types[doclet.meta.code.name] = true;
}
if (doclet.type && doclet.meta.code.type == 'MemberExpression') {
// types in olx.js
extractTypes(doclet);
}
}
exports.handlers = { exports.handlers = {
@@ -80,6 +107,9 @@ exports.handlers = {
var doclet = e.doclet; var doclet = e.doclet;
// Keep track of api items - needed in parseComplete to determine classes // Keep track of api items - needed in parseComplete to determine classes
// with api members. // with api members.
if (doclet.meta.filename == 'olx.js' && doclet.kind == 'typedef') {
doclet.undocumented = false;
}
if (doclet.stability) { if (doclet.stability) {
api.push(doclet); api.push(doclet);
} }
@@ -120,7 +150,7 @@ exports.handlers = {
// constructor from the docs. // constructor from the docs.
doclet._hideConstructor = true; doclet._hideConstructor = true;
includeAugments(doclet); includeAugments(doclet);
} else if (!doclet._hideConstructor) { } else if (doclet.undocumented !== false && !doclet._hideConstructor && !(doclet.kind == 'typedef' && doclet.longname in types)) {
// Remove all other undocumented symbols // Remove all other undocumented symbols
doclet.undocumented = true; doclet.undocumented = true;
} }

View File

@@ -89,10 +89,6 @@ exports.handlers = {
newDoclet: function(e) { newDoclet: function(e) {
var doclet = e.doclet; var doclet = e.doclet;
if (doclet.meta.filename == 'olx.js') { if (doclet.meta.filename == 'olx.js') {
// do nothing if not marked @api
if (!doclet.stability) {
return;
}
if (doclet.kind == 'typedef') { if (doclet.kind == 'typedef') {
lastOlxTypedef = doclet; lastOlxTypedef = doclet;
olxTypeNames.push(doclet.longname); olxTypeNames.push(doclet.longname);

View File

@@ -39,7 +39,7 @@ var self = this;
<?js <?js
item.typedefs.forEach(function (v) { item.typedefs.forEach(function (v) {
?> ?>
<li data-name="<?js= v.longname ?>" class="<?js= v.stability !== 'stable' ? 'unstable' : ''?>"> <li data-name="<?js= v.longname ?>" class="<?js= (v.stability && v.stability !== 'stable') ? 'unstable' : ''?>">
<?js= self.linkto(v.longname, v.name) ?> <?js= self.linkto(v.longname, v.name) ?>
</li> </li>
<?js <?js
@@ -56,7 +56,7 @@ var self = this;
item.methods.forEach(function (v) { item.methods.forEach(function (v) {
?> ?>
<li data-name="<?js= v.longname ?>" class="<?js= v.stability !== 'stable' ? 'unstable' : ''?>"> <li data-name="<?js= v.longname ?>" class="<?js= (v.stability && v.stability !== 'stable') ? 'unstable' : ''?>">
<?js= self.linkto(v.longname, v.name) ?> <?js= self.linkto(v.longname, v.name) ?>
</li> </li>
<?js <?js
@@ -73,7 +73,7 @@ var self = this;
item.fires.forEach(function (v) { item.fires.forEach(function (v) {
v = self.find({longname: v})[0] || {longname: v, name: v.split(/#?event:/)[1]}; v = self.find({longname: v})[0] || {longname: v, name: v.split(/#?event:/)[1]};
?> ?>
<li data-name="<?js= v.longname ?>" class="<?js= (v.stability != 'stable' ? 'unstable' : '') ?>"> <li data-name="<?js= v.longname ?>" class="<?js= (v.stability && v.stability != 'stable') ? 'unstable' : '' ?>">
<?js= self.linkto(v.longname, v.name) ?> <?js= self.linkto(v.longname, v.name) ?>
</li> </li>
<?js <?js

View File

@@ -21,7 +21,7 @@
var setter = prop.readonly ? 'no' : 'yes'; var setter = prop.readonly ? 'no' : 'yes';
?> ?>
<tr class="<?js= prop.stability !== 'stable' ? 'unstable' : '' ?>"> <tr class="<?js= (prop.stability && prop.stability !== 'stable') ? 'unstable' : '' ?>">
<td class="name"><code><?js= prop.name ?></code></td> <td class="name"><code><?js= prop.name ?></code></td>
<td class="type"> <td class="type">
<?js if (prop.type && prop.type.names) {?> <?js if (prop.type && prop.type.names) {?>

View File

@@ -2,6 +2,6 @@
var data = obj; var data = obj;
var self = this; var self = this;
if (data.stability != 'stable') { ?> if (data.stability && data.stability != 'stable') { ?>
<span class="stability <?js= data.stability ?>"><?js= data.stability ?></span> <span class="stability <?js= data.stability ?>"><?js= data.stability ?></span>
<?js } ?> <?js } ?>

View File

@@ -1,5 +1,5 @@
<section> <section>
<header> <header>
<?js if (children.length > 0) { ?> <?js if (children.length > 0) { ?>
<ul><?js <ul><?js
@@ -10,10 +10,10 @@
<?js } ?> <?js } ?>
<h2><?js= header ?></h2> <h2><?js= header ?></h2>
</header> </header>
<article> <article>
<?js= content ?> <?js= content ?>
</article> </article>
</section> </section>

View File

@@ -22,8 +22,8 @@ var twoPi = 2 * Math.PI;
/** /**
* Convert an RGB pixel into an HCL pixel. * Convert an RGB pixel into an HCL pixel.
* @param {ol.raster.Pixel} pixel A pixel in RGB space. * @param {Array.<number>} pixel A pixel in RGB space.
* @return {ol.raster.Pixel} A pixel in HCL space. * @return {Array.<number>} A pixel in HCL space.
*/ */
function rgb2hcl(pixel) { function rgb2hcl(pixel) {
var red = rgb2xyz(pixel[0]); var red = rgb2xyz(pixel[0]);
@@ -57,8 +57,8 @@ function rgb2hcl(pixel) {
/** /**
* Convert an HCL pixel into an RGB pixel. * Convert an HCL pixel into an RGB pixel.
* @param {ol.raster.Pixel} pixel A pixel in HCL space. * @param {Array.<number>} pixel A pixel in HCL space.
* @return {ol.raster.Pixel} A pixel in RGB space. * @return {Array.<number>} A pixel in RGB space.
*/ */
function hcl2rgb(pixel) { function hcl2rgb(pixel) {
var h = pixel[0]; var h = pixel[0];

View File

@@ -15,7 +15,7 @@ var bins = 10;
/** /**
* Calculate the Vegetation Greenness Index (VGI) from an input pixel. This * Calculate the Vegetation Greenness Index (VGI) from an input pixel. This
* is a rough estimate assuming that pixel values correspond to reflectance. * is a rough estimate assuming that pixel values correspond to reflectance.
* @param {ol.raster.Pixel} pixel An array of [R, G, B, A] values. * @param {Array.<number>} pixel An array of [R, G, B, A] values.
* @return {number} The VGI value for the given pixel. * @return {number} The VGI value for the given pixel.
*/ */
function vgi(pixel) { function vgi(pixel) {

View File

@@ -11,7 +11,6 @@ var olx;
/** /**
* @typedef {{html: string, * @typedef {{html: string,
* tileRanges: (Object.<string, Array.<ol.TileRange>>|undefined)}} * tileRanges: (Object.<string, Array.<ol.TileRange>>|undefined)}}
* @api
*/ */
olx.AttributionOptions; olx.AttributionOptions;
@@ -26,7 +25,6 @@ olx.AttributionOptions.prototype.html;
/** /**
* @typedef {{tracking: (boolean|undefined)}} * @typedef {{tracking: (boolean|undefined)}}
* @api
*/ */
olx.DeviceOrientationOptions; olx.DeviceOrientationOptions;
@@ -43,7 +41,6 @@ olx.DeviceOrientationOptions.prototype.tracking;
* @typedef {{tracking: (boolean|undefined), * @typedef {{tracking: (boolean|undefined),
* trackingOptions: (GeolocationPositionOptions|undefined), * trackingOptions: (GeolocationPositionOptions|undefined),
* projection: ol.proj.ProjectionLike}} * projection: ol.proj.ProjectionLike}}
* @api
*/ */
olx.GeolocationOptions; olx.GeolocationOptions;
@@ -76,7 +73,6 @@ olx.GeolocationOptions.prototype.projection;
/** /**
* Object literal with config options for the map logo. * Object literal with config options for the map logo.
* @typedef {{href: (string), src: (string)}} * @typedef {{href: (string), src: (string)}}
* @api
*/ */
olx.LogoOptions; olx.LogoOptions;
@@ -102,7 +98,6 @@ olx.LogoOptions.prototype.src;
* maxLines: (number|undefined), * maxLines: (number|undefined),
* strokeStyle: (ol.style.Stroke|undefined), * strokeStyle: (ol.style.Stroke|undefined),
* targetSize: (number|undefined)}} * targetSize: (number|undefined)}}
* @api
*/ */
olx.GraticuleOptions; olx.GraticuleOptions;
@@ -150,7 +145,6 @@ olx.GraticuleOptions.prototype.targetSize;
/** /**
* Object literal with config options for interactions. * Object literal with config options for interactions.
* @typedef {{handleEvent: function(ol.MapBrowserEvent):boolean}} * @typedef {{handleEvent: function(ol.MapBrowserEvent):boolean}}
* @api
*/ */
olx.interaction.InteractionOptions; olx.interaction.InteractionOptions;
@@ -180,7 +174,6 @@ olx.interaction.InteractionOptions.prototype.handleEvent;
* renderer: (ol.RendererType|Array.<ol.RendererType|string>|string|undefined), * renderer: (ol.RendererType|Array.<ol.RendererType|string>|string|undefined),
* target: (Element|string|undefined), * target: (Element|string|undefined),
* view: (ol.View|undefined)}} * view: (ol.View|undefined)}}
* @api
*/ */
olx.MapOptions; olx.MapOptions;
@@ -321,7 +314,6 @@ olx.MapOptions.prototype.view;
* autoPan: (boolean|undefined), * autoPan: (boolean|undefined),
* autoPanAnimation: (olx.animation.PanOptions|undefined), * autoPanAnimation: (olx.animation.PanOptions|undefined),
* autoPanMargin: (number|undefined)}} * autoPanMargin: (number|undefined)}}
* @api stable
*/ */
olx.OverlayOptions; olx.OverlayOptions;
@@ -434,7 +426,6 @@ olx.OverlayOptions.prototype.autoPanMargin;
* metersPerUnit: (number|undefined), * metersPerUnit: (number|undefined),
* worldExtent: (ol.Extent|undefined), * worldExtent: (ol.Extent|undefined),
* getPointResolution: (function(number, ol.Coordinate):number|undefined) }} * getPointResolution: (function(number, ol.Coordinate):number|undefined) }}
* @api
*/ */
olx.ProjectionOptions; olx.ProjectionOptions;
@@ -522,7 +513,6 @@ olx.ProjectionOptions.prototype.getPointResolution;
* rotation: (number|undefined), * rotation: (number|undefined),
* zoom: (number|undefined), * zoom: (number|undefined),
* zoomFactor: (number|undefined)}} * zoomFactor: (number|undefined)}}
* @api
*/ */
olx.ViewOptions; olx.ViewOptions;
@@ -683,7 +673,6 @@ olx.animation;
* start: (number|undefined), * start: (number|undefined),
* duration: (number|undefined), * duration: (number|undefined),
* easing: (function(number):number|undefined)}} * easing: (function(number):number|undefined)}}
* @api
*/ */
olx.animation.BounceOptions; olx.animation.BounceOptions;
@@ -727,7 +716,6 @@ olx.animation.BounceOptions.prototype.easing;
* start: (number|undefined), * start: (number|undefined),
* duration: (number|undefined), * duration: (number|undefined),
* easing: (function(number):number|undefined)}} * easing: (function(number):number|undefined)}}
* @api
*/ */
olx.animation.PanOptions; olx.animation.PanOptions;
@@ -771,7 +759,6 @@ olx.animation.PanOptions.prototype.easing;
* start: (number|undefined), * start: (number|undefined),
* duration: (number|undefined), * duration: (number|undefined),
* easing: (function(number):number|undefined)}} * easing: (function(number):number|undefined)}}
* @api
*/ */
olx.animation.RotateOptions; olx.animation.RotateOptions;
@@ -824,7 +811,6 @@ olx.animation.RotateOptions.prototype.easing;
* start: (number|undefined), * start: (number|undefined),
* duration: (number|undefined), * duration: (number|undefined),
* easing: (function(number):number|undefined)}} * easing: (function(number):number|undefined)}}
* @api
*/ */
olx.animation.ZoomOptions; olx.animation.ZoomOptions;
@@ -879,7 +865,6 @@ olx.control;
* collapseLabel: (string|Node|undefined), * collapseLabel: (string|Node|undefined),
* render: (function(ol.MapEvent)|undefined), * render: (function(ol.MapEvent)|undefined),
* target: (Element|undefined)}} * target: (Element|undefined)}}
* @api
*/ */
olx.control.AttributionOptions; olx.control.AttributionOptions;
@@ -958,7 +943,6 @@ olx.control.AttributionOptions.prototype.render;
* @typedef {{element: (Element|undefined), * @typedef {{element: (Element|undefined),
* render: (function(ol.MapEvent)|undefined), * render: (function(ol.MapEvent)|undefined),
* target: (Element|string|undefined)}} * target: (Element|string|undefined)}}
* @api stable
*/ */
olx.control.ControlOptions; olx.control.ControlOptions;
@@ -997,7 +981,6 @@ olx.control.ControlOptions.prototype.target;
* rotateOptions: (olx.control.RotateOptions|undefined), * rotateOptions: (olx.control.RotateOptions|undefined),
* zoom: (boolean|undefined), * zoom: (boolean|undefined),
* zoomOptions: (olx.control.ZoomOptions|undefined)}} * zoomOptions: (olx.control.ZoomOptions|undefined)}}
* @api
*/ */
olx.control.DefaultsOptions; olx.control.DefaultsOptions;
@@ -1058,7 +1041,6 @@ olx.control.DefaultsOptions.prototype.zoomOptions;
* keys: (boolean|undefined), * keys: (boolean|undefined),
* target: (Element|undefined), * target: (Element|undefined),
* source: (Element|string|undefined)}} * source: (Element|string|undefined)}}
* @api
*/ */
olx.control.FullScreenOptions; olx.control.FullScreenOptions;
@@ -1127,7 +1109,6 @@ olx.control.FullScreenOptions.prototype.source;
* render: (function(ol.MapEvent)|undefined), * render: (function(ol.MapEvent)|undefined),
* target: (Element|undefined), * target: (Element|undefined),
* undefinedHTML: (string|undefined)}} * undefinedHTML: (string|undefined)}}
* @api stable
*/ */
olx.control.MousePositionOptions; olx.control.MousePositionOptions;
@@ -1191,7 +1172,6 @@ olx.control.MousePositionOptions.prototype.undefinedHTML;
* target: (Element|undefined), * target: (Element|undefined),
* tipLabel: (string|undefined), * tipLabel: (string|undefined),
* view: (ol.View|undefined)}} * view: (ol.View|undefined)}}
* @api
*/ */
olx.control.OverviewMapOptions; olx.control.OverviewMapOptions;
@@ -1281,7 +1261,6 @@ olx.control.OverviewMapOptions.prototype.view;
* render: (function(ol.MapEvent)|undefined), * render: (function(ol.MapEvent)|undefined),
* target: (Element|undefined), * target: (Element|undefined),
* units: (ol.control.ScaleLineUnits|string|undefined)}} * units: (ol.control.ScaleLineUnits|string|undefined)}}
* @api stable
*/ */
olx.control.ScaleLineOptions; olx.control.ScaleLineOptions;
@@ -1336,7 +1315,6 @@ olx.control.ScaleLineOptions.prototype.units;
* render: (function(ol.MapEvent)|undefined), * render: (function(ol.MapEvent)|undefined),
* resetNorth: (function()|undefined), * resetNorth: (function()|undefined),
* autoHide: (boolean|undefined)}} * autoHide: (boolean|undefined)}}
* @api stable
*/ */
olx.control.RotateOptions; olx.control.RotateOptions;
@@ -1417,7 +1395,6 @@ olx.control.RotateOptions.prototype.target;
* zoomOutTipLabel: (string|undefined), * zoomOutTipLabel: (string|undefined),
* delta: (number|undefined), * delta: (number|undefined),
* target: (Element|undefined)}} * target: (Element|undefined)}}
* @api stable
*/ */
olx.control.ZoomOptions; olx.control.ZoomOptions;
@@ -1494,7 +1471,6 @@ olx.control.ZoomOptions.prototype.target;
* maxResolution: (number|undefined), * maxResolution: (number|undefined),
* minResolution: (number|undefined), * minResolution: (number|undefined),
* render: (function(ol.MapEvent)|undefined)}} * render: (function(ol.MapEvent)|undefined)}}
* @api
*/ */
olx.control.ZoomSliderOptions; olx.control.ZoomSliderOptions;
@@ -1546,7 +1522,6 @@ olx.control.ZoomSliderOptions.prototype.render;
* label: (string|Node|undefined), * label: (string|Node|undefined),
* tipLabel: (string|undefined), * tipLabel: (string|undefined),
* extent: (ol.Extent|undefined)}} * extent: (ol.Extent|undefined)}}
* @api stable
*/ */
olx.control.ZoomToExtentOptions; olx.control.ZoomToExtentOptions;
@@ -1604,7 +1579,6 @@ olx.format;
* @typedef {{dataProjection: ol.proj.ProjectionLike, * @typedef {{dataProjection: ol.proj.ProjectionLike,
* featureProjection: ol.proj.ProjectionLike, * featureProjection: ol.proj.ProjectionLike,
* rightHanded: (boolean|undefined)}} * rightHanded: (boolean|undefined)}}
* @api
*/ */
olx.format.ReadOptions; olx.format.ReadOptions;
@@ -1635,7 +1609,6 @@ olx.format.ReadOptions.prototype.featureProjection;
* featureProjection: ol.proj.ProjectionLike, * featureProjection: ol.proj.ProjectionLike,
* rightHanded: (boolean|undefined), * rightHanded: (boolean|undefined),
* decimals: (number|undefined)}} * decimals: (number|undefined)}}
* @api
*/ */
olx.format.WriteOptions; olx.format.WriteOptions;
@@ -1694,7 +1667,6 @@ olx.format.WriteOptions.prototype.decimals;
/** /**
* @typedef {{defaultDataProjection: ol.proj.ProjectionLike, * @typedef {{defaultDataProjection: ol.proj.ProjectionLike,
* geometryName: (string|undefined)}} * geometryName: (string|undefined)}}
* @api
*/ */
olx.format.GeoJSONOptions; olx.format.GeoJSONOptions;
@@ -1717,7 +1689,6 @@ olx.format.GeoJSONOptions.prototype.geometryName;
/** /**
* @typedef {{geometryName: (string|undefined)}} * @typedef {{geometryName: (string|undefined)}}
* @api
*/ */
olx.format.EsriJSONOptions; olx.format.EsriJSONOptions;
@@ -1738,7 +1709,6 @@ olx.format.EsriJSONOptions.prototype.geometryName;
* geometryName: (string|undefined), * geometryName: (string|undefined),
* layers: (Array.<string>|undefined), * layers: (Array.<string>|undefined),
* layerName: (string|undefined)}} * layerName: (string|undefined)}}
* @api
*/ */
olx.format.MVTOptions; olx.format.MVTOptions;
@@ -1784,7 +1754,6 @@ olx.format.MVTOptions.prototype.layers;
/** /**
* @typedef {{factor: (number|undefined), * @typedef {{factor: (number|undefined),
* geometryLayout: (ol.geom.GeometryLayout|undefined)}} * geometryLayout: (ol.geom.GeometryLayout|undefined)}}
* @api
*/ */
olx.format.PolylineOptions; olx.format.PolylineOptions;
@@ -1809,7 +1778,6 @@ olx.format.PolylineOptions.prototype.geometryLayout;
/** /**
* @typedef {{defaultDataProjection: ol.proj.ProjectionLike}} * @typedef {{defaultDataProjection: ol.proj.ProjectionLike}}
* @api
*/ */
olx.format.TopoJSONOptions; olx.format.TopoJSONOptions;
@@ -1824,7 +1792,6 @@ olx.format.TopoJSONOptions.prototype.defaultDataProjection;
/** /**
* @typedef {{altitudeMode: (ol.format.IGCZ|undefined)}} * @typedef {{altitudeMode: (ol.format.IGCZ|undefined)}}
* @api
*/ */
olx.format.IGCOptions; olx.format.IGCOptions;
@@ -1843,7 +1810,6 @@ olx.format.IGCOptions.prototype.altitudeMode;
* defaultStyle: (Array.<ol.style.Style>|undefined), * defaultStyle: (Array.<ol.style.Style>|undefined),
* showPointNames: (boolean|undefined), * showPointNames: (boolean|undefined),
* writeStyles: (boolean|undefined)}} * writeStyles: (boolean|undefined)}}
* @api
*/ */
olx.format.KMLOptions; olx.format.KMLOptions;
@@ -1889,7 +1855,6 @@ olx.format.KMLOptions.prototype.writeStyles;
* multiCurve: (boolean|undefined), * multiCurve: (boolean|undefined),
* multiSurface: (boolean|undefined), * multiSurface: (boolean|undefined),
* schemaLocation: (string|undefined)}} * schemaLocation: (string|undefined)}}
* @api
*/ */
olx.format.GMLOptions; olx.format.GMLOptions;
@@ -1977,7 +1942,6 @@ olx.format.GMLOptions.prototype.schemaLocation;
/** /**
* @typedef {{readExtensions: (function(ol.Feature, Node)|undefined)}} * @typedef {{readExtensions: (function(ol.Feature, Node)|undefined)}}
* @api
*/ */
olx.format.GPXOptions; olx.format.GPXOptions;
@@ -2000,7 +1964,6 @@ olx.format.GPXOptions.prototype.readExtensions;
* featureType: (Array.<string>|string|undefined), * featureType: (Array.<string>|string|undefined),
* gmlFormat: (ol.format.GMLBase|undefined), * gmlFormat: (ol.format.GMLBase|undefined),
* schemaLocation: (string|undefined)}} * schemaLocation: (string|undefined)}}
* @api
*/ */
olx.format.WFSOptions; olx.format.WFSOptions;
@@ -2052,7 +2015,6 @@ olx.format.WFSOptions.prototype.schemaLocation;
* count: (number|undefined), * count: (number|undefined),
* bbox: (ol.Extent|undefined), * bbox: (ol.Extent|undefined),
* filter: (ol.format.ogc.filter.Filter|undefined)}} * filter: (ol.format.ogc.filter.Filter|undefined)}}
* @api
*/ */
olx.format.WFSWriteGetFeatureOptions; olx.format.WFSWriteGetFeatureOptions;
@@ -2173,7 +2135,6 @@ olx.format.WFSWriteGetFeatureOptions.prototype.filter;
* handle: (string|undefined), * handle: (string|undefined),
* nativeElements: Array.<Object>, * nativeElements: Array.<Object>,
* gmlOptions: (olx.format.GMLOptions|undefined)}} * gmlOptions: (olx.format.GMLOptions|undefined)}}
* @api stable
*/ */
olx.format.WFSWriteTransactionOptions; olx.format.WFSWriteTransactionOptions;
@@ -2237,7 +2198,6 @@ olx.format.WFSWriteTransactionOptions.prototype.gmlOptions;
/** /**
* @typedef {{splitCollection: (boolean|undefined)}} * @typedef {{splitCollection: (boolean|undefined)}}
* @api
*/ */
olx.format.WKTOptions; olx.format.WKTOptions;
@@ -2255,7 +2215,6 @@ olx.format.WKTOptions.prototype.splitCollection;
* @typedef {{ * @typedef {{
* layers: (Array.<string>|undefined) * layers: (Array.<string>|undefined)
* }} * }}
* @api
*/ */
olx.format.WMSGetFeatureInfoOptions; olx.format.WMSGetFeatureInfoOptions;
@@ -2288,7 +2247,6 @@ olx.interaction;
* pinchZoom: (boolean|undefined), * pinchZoom: (boolean|undefined),
* zoomDelta: (number|undefined), * zoomDelta: (number|undefined),
* zoomDuration: (number|undefined)}} * zoomDuration: (number|undefined)}}
* @api
*/ */
olx.interaction.DefaultsOptions; olx.interaction.DefaultsOptions;
@@ -2376,7 +2334,6 @@ olx.interaction.DefaultsOptions.prototype.zoomDuration;
/** /**
* @typedef {{duration: (number|undefined), * @typedef {{duration: (number|undefined),
* delta: (number|undefined)}} * delta: (number|undefined)}}
* @api
*/ */
olx.interaction.DoubleClickZoomOptions; olx.interaction.DoubleClickZoomOptions;
@@ -2401,7 +2358,6 @@ olx.interaction.DoubleClickZoomOptions.prototype.delta;
* @typedef {{formatConstructors: (Array.<function(new: ol.format.Feature)>|undefined), * @typedef {{formatConstructors: (Array.<function(new: ol.format.Feature)>|undefined),
* projection: ol.proj.ProjectionLike, * projection: ol.proj.ProjectionLike,
* target: (Element|undefined)}} * target: (Element|undefined)}}
* @api
*/ */
olx.interaction.DragAndDropOptions; olx.interaction.DragAndDropOptions;
@@ -2434,7 +2390,6 @@ olx.interaction.DragAndDropOptions.prototype.target;
* @typedef {{className: (string|undefined), * @typedef {{className: (string|undefined),
* condition: (ol.events.ConditionType|undefined), * condition: (ol.events.ConditionType|undefined),
* boxEndCondition: (ol.interaction.DragBoxEndConditionType|undefined)}} * boxEndCondition: (ol.interaction.DragBoxEndConditionType|undefined)}}
* @api
*/ */
olx.interaction.DragBoxOptions; olx.interaction.DragBoxOptions;
@@ -2478,7 +2433,6 @@ olx.interaction.DragBoxOptions.prototype.boxEndCondition;
/** /**
* @typedef {{kinetic: (ol.Kinetic|undefined)}} * @typedef {{kinetic: (ol.Kinetic|undefined)}}
* @api
*/ */
olx.interaction.DragPanOptions; olx.interaction.DragPanOptions;
@@ -2494,7 +2448,6 @@ olx.interaction.DragPanOptions.prototype.kinetic;
/** /**
* @typedef {{condition: (ol.events.ConditionType|undefined), * @typedef {{condition: (ol.events.ConditionType|undefined),
* duration: (number|undefined)}} * duration: (number|undefined)}}
* @api
*/ */
olx.interaction.DragRotateAndZoomOptions; olx.interaction.DragRotateAndZoomOptions;
@@ -2520,7 +2473,6 @@ olx.interaction.DragRotateAndZoomOptions.prototype.duration;
/** /**
* @typedef {{condition: (ol.events.ConditionType|undefined), * @typedef {{condition: (ol.events.ConditionType|undefined),
* duration: (number|undefined)}} * duration: (number|undefined)}}
* @api
*/ */
olx.interaction.DragRotateOptions; olx.interaction.DragRotateOptions;
@@ -2548,7 +2500,6 @@ olx.interaction.DragRotateOptions.prototype.duration;
* condition: (ol.events.ConditionType|undefined), * condition: (ol.events.ConditionType|undefined),
* duration: (number|undefined), * duration: (number|undefined),
* out: (boolean|undefined)}} * out: (boolean|undefined)}}
* @api
*/ */
olx.interaction.DragZoomOptions; olx.interaction.DragZoomOptions;
@@ -2602,7 +2553,6 @@ olx.interaction.DragZoomOptions.prototype.out;
* condition: (ol.events.ConditionType|undefined), * condition: (ol.events.ConditionType|undefined),
* freehandCondition: (ol.events.ConditionType|undefined), * freehandCondition: (ol.events.ConditionType|undefined),
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.interaction.DrawOptions; olx.interaction.DrawOptions;
@@ -2739,7 +2689,6 @@ olx.interaction.DrawOptions.prototype.wrapX;
* features: (ol.Collection.<ol.Feature>|undefined), * features: (ol.Collection.<ol.Feature>|undefined),
* layers: (undefined|Array.<ol.layer.Layer>|function(ol.layer.Layer): boolean) * layers: (undefined|Array.<ol.layer.Layer>|function(ol.layer.Layer): boolean)
* }} * }}
* @api
*/ */
olx.interaction.TranslateOptions; olx.interaction.TranslateOptions;
@@ -2769,7 +2718,6 @@ olx.interaction.TranslateOptions.prototype.layers;
* @typedef {{condition: (ol.events.ConditionType|undefined), * @typedef {{condition: (ol.events.ConditionType|undefined),
* duration: (number|undefined), * duration: (number|undefined),
* pixelDelta: (number|undefined)}} * pixelDelta: (number|undefined)}}
* @api
*/ */
olx.interaction.KeyboardPanOptions; olx.interaction.KeyboardPanOptions;
@@ -2805,7 +2753,6 @@ olx.interaction.KeyboardPanOptions.prototype.pixelDelta;
* @typedef {{duration: (number|undefined), * @typedef {{duration: (number|undefined),
* condition: (ol.events.ConditionType|undefined), * condition: (ol.events.ConditionType|undefined),
* delta: (number|undefined)}} * delta: (number|undefined)}}
* @api
*/ */
olx.interaction.KeyboardZoomOptions; olx.interaction.KeyboardZoomOptions;
@@ -2843,7 +2790,6 @@ olx.interaction.KeyboardZoomOptions.prototype.delta;
* style: (ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction|undefined), * style: (ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction|undefined),
* features: ol.Collection.<ol.Feature>, * features: ol.Collection.<ol.Feature>,
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.interaction.ModifyOptions; olx.interaction.ModifyOptions;
@@ -2907,7 +2853,6 @@ olx.interaction.ModifyOptions.prototype.wrapX;
/** /**
* @typedef {{duration: (number|undefined), * @typedef {{duration: (number|undefined),
* useAnchor: (boolean|undefined)}} * useAnchor: (boolean|undefined)}}
* @api
*/ */
olx.interaction.MouseWheelZoomOptions; olx.interaction.MouseWheelZoomOptions;
@@ -2933,7 +2878,6 @@ olx.interaction.MouseWheelZoomOptions.prototype.useAnchor;
/** /**
* @typedef {{threshold: (number|undefined), * @typedef {{threshold: (number|undefined),
* duration: (number|undefined)}} * duration: (number|undefined)}}
* @api
*/ */
olx.interaction.PinchRotateOptions; olx.interaction.PinchRotateOptions;
@@ -2956,7 +2900,6 @@ olx.interaction.PinchRotateOptions.prototype.threshold;
/** /**
* @typedef {{duration: (number|undefined)}} * @typedef {{duration: (number|undefined)}}
* @api
*/ */
olx.interaction.PinchZoomOptions; olx.interaction.PinchZoomOptions;
@@ -2975,7 +2918,6 @@ olx.interaction.PinchZoomOptions.prototype.duration;
* handleEvent: (function(ol.MapBrowserEvent):boolean|undefined), * handleEvent: (function(ol.MapBrowserEvent):boolean|undefined),
* handleMoveEvent: (function(ol.MapBrowserPointerEvent)|undefined), * handleMoveEvent: (function(ol.MapBrowserPointerEvent)|undefined),
* handleUpEvent: (function(ol.MapBrowserPointerEvent):boolean|undefined)}} * handleUpEvent: (function(ol.MapBrowserPointerEvent):boolean|undefined)}}
* @api
*/ */
olx.interaction.PointerOptions; olx.interaction.PointerOptions;
@@ -3039,7 +2981,6 @@ olx.interaction.PointerOptions.prototype.handleUpEvent;
* features: (ol.Collection.<ol.Feature>|undefined), * features: (ol.Collection.<ol.Feature>|undefined),
* filter: (ol.interaction.SelectFilterFunction|undefined), * filter: (ol.interaction.SelectFilterFunction|undefined),
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.interaction.SelectOptions; olx.interaction.SelectOptions;
@@ -3162,7 +3103,6 @@ olx.interaction.SelectOptions.prototype.wrapX;
* edge: (boolean|undefined), * edge: (boolean|undefined),
* vertex: (boolean|undefined) * vertex: (boolean|undefined)
* }} * }}
* @api
*/ */
olx.interaction.SnapOptions; olx.interaction.SnapOptions;
@@ -3221,7 +3161,6 @@ olx.layer;
* zIndex: (number|undefined), * zIndex: (number|undefined),
* minResolution: (number|undefined), * minResolution: (number|undefined),
* maxResolution: (number|undefined)}} * maxResolution: (number|undefined)}}
* @api
*/ */
olx.layer.BaseOptions; olx.layer.BaseOptions;
@@ -3284,7 +3223,6 @@ olx.layer.BaseOptions.prototype.maxResolution;
* zIndex: (number|undefined), * zIndex: (number|undefined),
* minResolution: (number|undefined), * minResolution: (number|undefined),
* maxResolution: (number|undefined)}} * maxResolution: (number|undefined)}}
* @api
*/ */
olx.layer.LayerOptions; olx.layer.LayerOptions;
@@ -3357,7 +3295,6 @@ olx.layer.LayerOptions.prototype.maxResolution;
* minResolution: (number|undefined), * minResolution: (number|undefined),
* maxResolution: (number|undefined), * maxResolution: (number|undefined),
* layers: (Array.<ol.layer.Base>|ol.Collection.<ol.layer.Base>|undefined)}} * layers: (Array.<ol.layer.Base>|ol.Collection.<ol.layer.Base>|undefined)}}
* @api
*/ */
olx.layer.GroupOptions; olx.layer.GroupOptions;
@@ -3432,7 +3369,6 @@ olx.layer.GroupOptions.prototype.layers;
* opacity: (number|undefined), * opacity: (number|undefined),
* source: (ol.source.Vector|undefined), * source: (ol.source.Vector|undefined),
* visible: (boolean|undefined)}} * visible: (boolean|undefined)}}
* @api
*/ */
olx.layer.HeatmapOptions; olx.layer.HeatmapOptions;
@@ -3537,7 +3473,6 @@ olx.layer.HeatmapOptions.prototype.visible;
* extent: (ol.Extent|undefined), * extent: (ol.Extent|undefined),
* minResolution: (number|undefined), * minResolution: (number|undefined),
* maxResolution: (number|undefined)}} * maxResolution: (number|undefined)}}
* @api
*/ */
olx.layer.ImageOptions; olx.layer.ImageOptions;
@@ -3612,7 +3547,6 @@ olx.layer.ImageOptions.prototype.maxResolution;
* minResolution: (number|undefined), * minResolution: (number|undefined),
* maxResolution: (number|undefined), * maxResolution: (number|undefined),
* useInterimTilesOnError: (boolean|undefined)}} * useInterimTilesOnError: (boolean|undefined)}}
* @api
*/ */
olx.layer.TileOptions; olx.layer.TileOptions;
@@ -3706,7 +3640,6 @@ olx.layer.TileOptions.prototype.useInterimTilesOnError;
* updateWhileAnimating: (boolean|undefined), * updateWhileAnimating: (boolean|undefined),
* updateWhileInteracting: (boolean|undefined), * updateWhileInteracting: (boolean|undefined),
* visible: (boolean|undefined)}} * visible: (boolean|undefined)}}
* @api
*/ */
olx.layer.VectorOptions; olx.layer.VectorOptions;
@@ -3835,7 +3768,6 @@ olx.layer.VectorOptions.prototype.visible;
* updateWhileAnimating: (boolean|undefined), * updateWhileAnimating: (boolean|undefined),
* updateWhileInteracting: (boolean|undefined), * updateWhileInteracting: (boolean|undefined),
* visible: (boolean|undefined)}} * visible: (boolean|undefined)}}
* @api
*/ */
olx.layer.VectorTileOptions; olx.layer.VectorTileOptions;
@@ -3977,7 +3909,6 @@ olx.render;
/** /**
* @typedef {{size: (ol.Size|undefined), * @typedef {{size: (ol.Size|undefined),
* pixelRatio: (number|undefined)}} * pixelRatio: (number|undefined)}}
* @api
*/ */
olx.render.ToContextOptions; olx.render.ToContextOptions;
@@ -4017,7 +3948,6 @@ olx.source;
* reprojectionErrorThreshold: (number|undefined), * reprojectionErrorThreshold: (number|undefined),
* tileLoadFunction: (ol.TileLoadFunctionType|undefined), * tileLoadFunction: (ol.TileLoadFunctionType|undefined),
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.source.BingMapsOptions; olx.source.BingMapsOptions;
@@ -4103,7 +4033,6 @@ olx.source.BingMapsOptions.prototype.wrapX;
* projection: ol.proj.ProjectionLike, * projection: ol.proj.ProjectionLike,
* source: ol.source.Vector, * source: ol.source.Vector,
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.source.ClusterOptions; olx.source.ClusterOptions;
@@ -4196,7 +4125,6 @@ olx.source.ClusterOptions.prototype.wrapX;
* jsonp: (boolean|undefined), * jsonp: (boolean|undefined),
* tileJSON: (TileJSON|undefined), * tileJSON: (TileJSON|undefined),
* url: (string|undefined)}} * url: (string|undefined)}}
* @api
*/ */
olx.source.TileUTFGridOptions; olx.source.TileUTFGridOptions;
@@ -4260,7 +4188,6 @@ olx.source.TileUTFGridOptions.prototype.url;
* url: (string|undefined), * url: (string|undefined),
* urls: (Array.<string>|undefined), * urls: (Array.<string>|undefined),
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.source.TileImageOptions; olx.source.TileImageOptions;
@@ -4430,7 +4357,6 @@ olx.source.TileImageOptions.prototype.wrapX;
* url: (string|undefined), * url: (string|undefined),
* urls: (Array.<string>|undefined), * urls: (Array.<string>|undefined),
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.source.VectorTileOptions; olx.source.VectorTileOptions;
@@ -4578,7 +4504,6 @@ olx.source.VectorTileOptions.prototype.wrapX;
* resolutions: (Array.<number>|undefined), * resolutions: (Array.<number>|undefined),
* imageLoadFunction: (ol.ImageLoadFunctionType|undefined), * imageLoadFunction: (ol.ImageLoadFunctionType|undefined),
* params: (Object|undefined)}} * params: (Object|undefined)}}
* @api
*/ */
olx.source.ImageMapGuideOptions; olx.source.ImageMapGuideOptions;
@@ -4672,7 +4597,6 @@ olx.source.ImageMapGuideOptions.prototype.params;
* reprojectionErrorThreshold: (number|undefined), * reprojectionErrorThreshold: (number|undefined),
* tileLoadFunction: (ol.TileLoadFunctionType|undefined), * tileLoadFunction: (ol.TileLoadFunctionType|undefined),
* url: (string|undefined)}} * url: (string|undefined)}}
* @api
*/ */
olx.source.MapQuestOptions; olx.source.MapQuestOptions;
@@ -4727,7 +4651,6 @@ olx.source.MapQuestOptions.prototype.url;
* @typedef {{projection: ol.proj.ProjectionLike, * @typedef {{projection: ol.proj.ProjectionLike,
* tileGrid: (ol.tilegrid.TileGrid|undefined), * tileGrid: (ol.tilegrid.TileGrid|undefined),
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.source.TileDebugOptions; olx.source.TileDebugOptions;
@@ -4766,7 +4689,6 @@ olx.source.TileDebugOptions.prototype.wrapX;
* tileLoadFunction: (ol.TileLoadFunctionType|undefined), * tileLoadFunction: (ol.TileLoadFunctionType|undefined),
* url: (string|undefined), * url: (string|undefined),
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.source.OSMOptions; olx.source.OSMOptions;
@@ -4866,7 +4788,6 @@ olx.source.OSMOptions.prototype.wrapX;
* ratio: (number|undefined), * ratio: (number|undefined),
* resolutions: (Array.<number>|undefined), * resolutions: (Array.<number>|undefined),
* url: (string|undefined)}} * url: (string|undefined)}}
* @api
*/ */
olx.source.ImageArcGISRestOptions; olx.source.ImageArcGISRestOptions;
@@ -4963,7 +4884,6 @@ olx.source.ImageArcGISRestOptions.prototype.url;
* ratio: (number|undefined), * ratio: (number|undefined),
* resolutions: (Array.<number>|undefined), * resolutions: (Array.<number>|undefined),
* state: (ol.source.State|undefined)}} * state: (ol.source.State|undefined)}}
* @api
*/ */
olx.source.ImageCanvasOptions; olx.source.ImageCanvasOptions;
@@ -5042,7 +4962,6 @@ olx.source.ImageCanvasOptions.prototype.state;
* resolutions: (Array.<number>|undefined), * resolutions: (Array.<number>|undefined),
* source: ol.source.Vector, * source: ol.source.Vector,
* style: (ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction|undefined)}} * style: (ol.style.Style|Array.<ol.style.Style>|ol.style.StyleFunction|undefined)}}
* @api
*/ */
olx.source.ImageVectorOptions; olx.source.ImageVectorOptions;
@@ -5113,7 +5032,6 @@ olx.source.ImageVectorOptions.prototype.style;
* lib: (Object|undefined), * lib: (Object|undefined),
* threads: (number|undefined), * threads: (number|undefined),
* operationType: (ol.raster.OperationType|undefined)}} * operationType: (ol.raster.OperationType|undefined)}}
* @api
*/ */
olx.source.RasterOptions; olx.source.RasterOptions;
@@ -5178,7 +5096,6 @@ olx.source.RasterOptions.prototype.operationType;
* ratio: (number|undefined), * ratio: (number|undefined),
* resolutions: (Array.<number>|undefined), * resolutions: (Array.<number>|undefined),
* url: (string|undefined)}} * url: (string|undefined)}}
* @api
*/ */
olx.source.ImageWMSOptions; olx.source.ImageWMSOptions;
@@ -5290,7 +5207,6 @@ olx.source.ImageWMSOptions.prototype.url;
* reprojectionErrorThreshold: (number|undefined), * reprojectionErrorThreshold: (number|undefined),
* tileLoadFunction: (ol.TileLoadFunctionType|undefined), * tileLoadFunction: (ol.TileLoadFunctionType|undefined),
* url: (string|undefined)}} * url: (string|undefined)}}
* @api
*/ */
olx.source.StamenOptions; olx.source.StamenOptions;
@@ -5373,7 +5289,6 @@ olx.source.StamenOptions.prototype.url;
* logo: (string|olx.LogoOptions|undefined), * logo: (string|olx.LogoOptions|undefined),
* projection: ol.proj.ProjectionLike, * projection: ol.proj.ProjectionLike,
* url: string}} * url: string}}
* @api
*/ */
olx.source.ImageStaticOptions; olx.source.ImageStaticOptions;
@@ -5461,7 +5376,6 @@ olx.source.ImageStaticOptions.prototype.url;
* url: (string|undefined), * url: (string|undefined),
* urls: (Array.<string>|undefined), * urls: (Array.<string>|undefined),
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.source.TileArcGISRestOptions; olx.source.TileArcGISRestOptions;
@@ -5593,7 +5507,6 @@ olx.source.TileArcGISRestOptions.prototype.urls;
* tileLoadFunction: (ol.TileLoadFunctionType|undefined), * tileLoadFunction: (ol.TileLoadFunctionType|undefined),
* url: string, * url: string,
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.source.TileJSONOptions; olx.source.TileJSONOptions;
@@ -5692,7 +5605,6 @@ olx.source.TileJSONOptions.prototype.wrapX;
* url: (string|undefined), * url: (string|undefined),
* urls: (Array.<string>|undefined), * urls: (Array.<string>|undefined),
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.source.TileWMSOptions; olx.source.TileWMSOptions;
@@ -5864,7 +5776,6 @@ olx.source.TileWMSOptions.prototype.wrapX;
* url: (string|ol.FeatureUrlFunction|undefined), * url: (string|ol.FeatureUrlFunction|undefined),
* useSpatialIndex: (boolean|undefined), * useSpatialIndex: (boolean|undefined),
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.source.VectorOptions; olx.source.VectorOptions;
@@ -5998,7 +5909,6 @@ olx.source.VectorOptions.prototype.wrapX;
* ol.TileState, string, ?string, * ol.TileState, string, ?string,
* ol.TileLoadFunctionType)|undefined), * ol.TileLoadFunctionType)|undefined),
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.source.WMTSOptions; olx.source.WMTSOptions;
@@ -6208,7 +6118,6 @@ olx.source.WMTSOptions.prototype.wrapX;
* url: (string|undefined), * url: (string|undefined),
* urls: (Array.<string>|undefined), * urls: (Array.<string>|undefined),
* wrapX: (boolean|undefined)}} * wrapX: (boolean|undefined)}}
* @api
*/ */
olx.source.XYZOptions; olx.source.XYZOptions;
@@ -6376,7 +6285,6 @@ olx.source.XYZOptions.prototype.wrapX;
* config: (Object|undefined), * config: (Object|undefined),
* map: (string|undefined), * map: (string|undefined),
* account: string}} * account: string}}
* @api
*/ */
olx.source.CartoDBOptions; olx.source.CartoDBOptions;
@@ -6489,7 +6397,6 @@ olx.source.CartoDBOptions.prototype.account;
* url: !string, * url: !string,
* tierSizeCalculation: (string|undefined), * tierSizeCalculation: (string|undefined),
* size: ol.Size}} * size: ol.Size}}
* @api
*/ */
olx.source.ZoomifyOptions; olx.source.ZoomifyOptions;
@@ -6576,7 +6483,6 @@ olx.style;
* snapToPixel: (boolean|undefined), * snapToPixel: (boolean|undefined),
* stroke: (ol.style.Stroke|undefined), * stroke: (ol.style.Stroke|undefined),
* atlasManager: (ol.style.AtlasManager|undefined)}} * atlasManager: (ol.style.AtlasManager|undefined)}}
* @api
*/ */
olx.style.CircleOptions; olx.style.CircleOptions;
@@ -6631,7 +6537,6 @@ olx.style.CircleOptions.prototype.atlasManager;
/** /**
* @typedef {{color: (ol.Color|ol.ColorLike|undefined)}} * @typedef {{color: (ol.Color|ol.ColorLike|undefined)}}
* @api
*/ */
olx.style.FillOptions; olx.style.FillOptions;
@@ -6664,7 +6569,6 @@ olx.style.FillOptions.prototype.color;
* size: (ol.Size|undefined), * size: (ol.Size|undefined),
* imgSize: (ol.Size|undefined), * imgSize: (ol.Size|undefined),
* src: (string|undefined)}} * src: (string|undefined)}}
* @api
*/ */
olx.style.IconOptions; olx.style.IconOptions;
@@ -6841,7 +6745,6 @@ olx.style.IconOptions.prototype.src;
* rotation: (number|undefined), * rotation: (number|undefined),
* rotateWithView: (boolean|undefined), * rotateWithView: (boolean|undefined),
* atlasManager: (ol.style.AtlasManager|undefined)}} * atlasManager: (ol.style.AtlasManager|undefined)}}
* @api
*/ */
olx.style.RegularShapeOptions; olx.style.RegularShapeOptions;
@@ -6952,7 +6855,6 @@ olx.style.RegularShapeOptions.prototype.atlasManager;
* lineDash: (Array.<number>|undefined), * lineDash: (Array.<number>|undefined),
* miterLimit: (number|undefined), * miterLimit: (number|undefined),
* width: (number|undefined)}} * width: (number|undefined)}}
* @api
*/ */
olx.style.StrokeOptions; olx.style.StrokeOptions;
@@ -7023,7 +6925,6 @@ olx.style.StrokeOptions.prototype.width;
* textBaseline: (string|undefined), * textBaseline: (string|undefined),
* fill: (ol.style.Fill|undefined), * fill: (ol.style.Fill|undefined),
* stroke: (ol.style.Stroke|undefined)}} * stroke: (ol.style.Stroke|undefined)}}
* @api
*/ */
olx.style.TextOptions; olx.style.TextOptions;
@@ -7121,7 +7022,6 @@ olx.style.TextOptions.prototype.stroke;
* stroke: (ol.style.Stroke|undefined), * stroke: (ol.style.Stroke|undefined),
* text: (ol.style.Text|undefined), * text: (ol.style.Text|undefined),
* zIndex: (number|undefined)}} * zIndex: (number|undefined)}}
* @api
*/ */
olx.style.StyleOptions; olx.style.StyleOptions;
@@ -7191,7 +7091,6 @@ olx.tilegrid;
* sizes: (Array.<ol.Size>|undefined), * sizes: (Array.<ol.Size>|undefined),
* tileSize: (number|ol.Size|undefined), * tileSize: (number|ol.Size|undefined),
* tileSizes: (Array.<number|ol.Size>|undefined)}} * tileSizes: (Array.<number|ol.Size>|undefined)}}
* @api
*/ */
olx.tilegrid.TileGridOptions; olx.tilegrid.TileGridOptions;
@@ -7272,7 +7171,6 @@ olx.tilegrid.TileGridOptions.prototype.tileSizes;
* sizes: (Array.<ol.Size>|undefined), * sizes: (Array.<ol.Size>|undefined),
* tileSize: (number|ol.Size|undefined), * tileSize: (number|ol.Size|undefined),
* tileSizes: (Array.<number|ol.Size>|undefined)}} * tileSizes: (Array.<number|ol.Size>|undefined)}}
* @api
*/ */
olx.tilegrid.WMTSOptions; olx.tilegrid.WMTSOptions;
@@ -7377,7 +7275,6 @@ olx.tilegrid.WMTSOptions.prototype.widths;
* maxZoom: (number|undefined), * maxZoom: (number|undefined),
* minZoom: (number|undefined), * minZoom: (number|undefined),
* tileSize: (number|ol.Size|undefined)}} * tileSize: (number|ol.Size|undefined)}}
* @api
*/ */
olx.tilegrid.XYZOptions; olx.tilegrid.XYZOptions;
@@ -7433,7 +7330,6 @@ olx.view;
* nearest: (boolean|undefined), * nearest: (boolean|undefined),
* maxZoom: (number|undefined), * maxZoom: (number|undefined),
* minResolution: (number|undefined)}} * minResolution: (number|undefined)}}
* @api
*/ */
olx.view.FitOptions; olx.view.FitOptions;
@@ -7504,7 +7400,6 @@ olx.view.FitOptions.prototype.maxZoom;
* viewState: olx.ViewState, * viewState: olx.ViewState,
* viewHints: Array.<number>, * viewHints: Array.<number>,
* wantedTiles: !Object.<string, Object.<string, boolean>>}} * wantedTiles: !Object.<string, Object.<string, boolean>>}}
* @api
*/ */
olx.FrameState; olx.FrameState;
@@ -7535,7 +7430,6 @@ olx.FrameState.prototype.viewState;
* projection: ol.proj.Projection, * projection: ol.proj.Projection,
* resolution: number, * resolution: number,
* rotation: number}} * rotation: number}}
* @api
*/ */
olx.ViewState; olx.ViewState;
@@ -7572,7 +7466,6 @@ olx.ViewState.prototype.rotation;
* @typedef {{initialSize: (number|undefined), * @typedef {{initialSize: (number|undefined),
* maxSize: (number|undefined), * maxSize: (number|undefined),
* space: (number|undefined)}} * space: (number|undefined)}}
* @api
*/ */
olx.style.AtlasManagerOptions; olx.style.AtlasManagerOptions;

View File

@@ -25,7 +25,6 @@ ol.control.ScaleLineProperty = {
* Units for the scale line. Supported values are `'degrees'`, `'imperial'`, * Units for the scale line. Supported values are `'degrees'`, `'imperial'`,
* `'nautical'`, `'metric'`, `'us'`. * `'nautical'`, `'metric'`, `'us'`.
* @enum {string} * @enum {string}
* @api stable
*/ */
ol.control.ScaleLineUnits = { ol.control.ScaleLineUnits = {
DEGREES: 'degrees', DEGREES: 'degrees',

View File

@@ -13,7 +13,6 @@ goog.require('ol.proj');
/** /**
* IGC altitude/z. One of 'barometric', 'gps', 'none'. * IGC altitude/z. One of 'barometric', 'gps', 'none'.
* @enum {string} * @enum {string}
* @api
*/ */
ol.format.IGCZ = { ol.format.IGCZ = {
BAROMETRIC: 'barometric', BAROMETRIC: 'barometric',

View File

@@ -15,7 +15,6 @@ goog.require('ol.proj.Units');
* `'Polygon'`, `'MultiPoint'`, `'MultiLineString'`, `'MultiPolygon'`, * `'Polygon'`, `'MultiPoint'`, `'MultiLineString'`, `'MultiPolygon'`,
* `'GeometryCollection'`, `'Circle'`. * `'GeometryCollection'`, `'Circle'`.
* @enum {string} * @enum {string}
* @api stable
*/ */
ol.geom.GeometryType = { ol.geom.GeometryType = {
POINT: 'Point', POINT: 'Point',
@@ -35,7 +34,6 @@ ol.geom.GeometryType = {
* or measure ('M') coordinate is available. Supported values are `'XY'`, * or measure ('M') coordinate is available. Supported values are `'XY'`,
* `'XYZ'`, `'XYM'`, `'XYZM'`. * `'XYZ'`, `'XYM'`, `'XYZM'`.
* @enum {string} * @enum {string}
* @api stable
*/ */
ol.geom.GeometryLayout = { ol.geom.GeometryLayout = {
XY: 'XY', XY: 'XY',

View File

@@ -31,7 +31,6 @@ ol.OverlayProperty = {
* `'center-left'`, `'center-center'`, `'center-right'`, `'top-left'`, * `'center-left'`, `'center-center'`, `'center-right'`, `'top-left'`,
* `'top-center'`, `'top-right'` * `'top-center'`, `'top-right'`
* @enum {string} * @enum {string}
* @api stable
*/ */
ol.OverlayPositioning = { ol.OverlayPositioning = {
BOTTOM_LEFT: 'bottom-left', BOTTOM_LEFT: 'bottom-left',

View File

@@ -14,7 +14,6 @@ goog.require('ol.sphere.NORMAL');
* Projection units: `'degrees'`, `'ft'`, `'m'`, `'pixels'`, `'tile-pixels'` or * Projection units: `'degrees'`, `'ft'`, `'m'`, `'pixels'`, `'tile-pixels'` or
* `'us-ft'`. * `'us-ft'`.
* @enum {string} * @enum {string}
* @api stable
*/ */
ol.proj.Units = { ol.proj.Units = {
DEGREES: 'degrees', DEGREES: 'degrees',

View File

@@ -4,7 +4,6 @@ goog.provide('ol.raster.OperationType');
/** /**
* Raster operation type. Supported values are `'pixel'` and `'image'`. * Raster operation type. Supported values are `'pixel'` and `'image'`.
* @enum {string} * @enum {string}
* @api
*/ */
ol.raster.OperationType = { ol.raster.OperationType = {
PIXEL: 'pixel', PIXEL: 'pixel',

View File

@@ -18,7 +18,6 @@ goog.require('ol.vec.Mat4');
/** /**
* Available renderers: `'canvas'`, `'dom'` or `'webgl'`. * Available renderers: `'canvas'`, `'dom'` or `'webgl'`.
* @enum {string} * @enum {string}
* @api stable
*/ */
ol.RendererType = { ol.RendererType = {
CANVAS: 'canvas', CANVAS: 'canvas',

View File

@@ -10,7 +10,6 @@ goog.require('ol.proj');
/** /**
* State of the source, one of 'undefined', 'loading', 'ready' or 'error'. * State of the source, one of 'undefined', 'loading', 'ready' or 'error'.
* @enum {string} * @enum {string}
* @api
*/ */
ol.source.State = { ol.source.State = {
UNDEFINED: 'undefined', UNDEFINED: 'undefined',

View File

@@ -7,7 +7,6 @@ goog.provide('ol.source.wms.ServerType');
* `'qgis'`. These are servers that have vendor parameters beyond the WMS * `'qgis'`. These are servers that have vendor parameters beyond the WMS
* specification that OpenLayers can make use of. * specification that OpenLayers can make use of.
* @enum {string} * @enum {string}
* @api
*/ */
ol.source.wms.ServerType = { ol.source.wms.ServerType = {
CARMENTA_SERVER: 'carmentaserver', CARMENTA_SERVER: 'carmentaserver',

View File

@@ -15,7 +15,6 @@ goog.require('ol.tilegrid.WMTS');
/** /**
* Request encoding. One of 'KVP', 'REST'. * Request encoding. One of 'KVP', 'REST'.
* @enum {string} * @enum {string}
* @api
*/ */
ol.source.WMTSRequestEncoding = { ol.source.WMTSRequestEncoding = {
KVP: 'KVP', // see spec §8 KVP: 'KVP', // see spec §8

View File

@@ -16,7 +16,6 @@ goog.require('ol.style.ImageState');
/** /**
* Icon anchor units. One of 'fraction', 'pixels'. * Icon anchor units. One of 'fraction', 'pixels'.
* @enum {string} * @enum {string}
* @api
*/ */
ol.style.IconAnchorUnits = { ol.style.IconAnchorUnits = {
FRACTION: 'fraction', FRACTION: 'fraction',
@@ -27,7 +26,6 @@ ol.style.IconAnchorUnits = {
/** /**
* Icon origin. One of 'bottom-left', 'bottom-right', 'top-left', 'top-right'. * Icon origin. One of 'bottom-left', 'bottom-right', 'top-left', 'top-right'.
* @enum {string} * @enum {string}
* @api
*/ */
ol.style.IconOrigin = { ol.style.IconOrigin = {
BOTTOM_LEFT: 'bottom-left', BOTTOM_LEFT: 'bottom-left',

View File

@@ -32,7 +32,6 @@ goog.provide('ol.style.AtlasBlock');
/** /**
* @typedef {string|Array.<string>|ol.Attribution|Array.<ol.Attribution>} * @typedef {string|Array.<string>|ol.Attribution|Array.<ol.Attribution>}
* @api
*/ */
ol.AttributionLike; ol.AttributionLike;
@@ -54,7 +53,6 @@ ol.CanvasFillState;
* *
* @typedef {function(this:ol.source.ImageCanvas, ol.Extent, number, * @typedef {function(this:ol.source.ImageCanvas, ol.Extent, number,
* number, ol.Size, ol.proj.Projection): HTMLCanvasElement} * number, ol.Size, ol.proj.Projection): HTMLCanvasElement}
* @api
*/ */
ol.CanvasFunctionType; ol.CanvasFunctionType;
@@ -90,7 +88,6 @@ ol.CenterConstraintType;
* alpha should be a float in the range 0..1 inclusive. If no alpha value is * alpha should be a float in the range 0..1 inclusive. If no alpha value is
* given then `1` will be used. * given then `1` will be used.
* @typedef {Array.<number>} * @typedef {Array.<number>}
* @api
*/ */
ol.Color; ol.Color;
@@ -100,7 +97,6 @@ ol.Color;
* Represents a color, pattern, or gradient. * Represents a color, pattern, or gradient.
* *
* @typedef {string|CanvasPattern|CanvasGradient} * @typedef {string|CanvasPattern|CanvasGradient}
* @api
*/ */
ol.ColorLike; ol.ColorLike;
@@ -108,7 +104,6 @@ ol.ColorLike;
/** /**
* An array of numbers representing an xy coordinate. Example: `[16, 48]`. * An array of numbers representing an xy coordinate. Example: `[16, 48]`.
* @typedef {Array.<number>} ol.Coordinate * @typedef {Array.<number>} ol.Coordinate
* @api stable
*/ */
ol.Coordinate; ol.Coordinate;
@@ -118,7 +113,6 @@ ol.Coordinate;
* `{string}`. * `{string}`.
* *
* @typedef {function((ol.Coordinate|undefined)): string} * @typedef {function((ol.Coordinate|undefined)): string}
* @api stable
*/ */
ol.CoordinateFormatType; ol.CoordinateFormatType;
@@ -126,7 +120,6 @@ ol.CoordinateFormatType;
/** /**
* An array of numbers representing an extent: `[minx, miny, maxx, maxy]`. * An array of numbers representing an extent: `[minx, miny, maxx, maxy]`.
* @typedef {Array.<number>} * @typedef {Array.<number>}
* @api stable
*/ */
ol.Extent; ol.Extent;
@@ -142,7 +135,6 @@ ol.Extent;
* *
* The function is responsible for loading the features and adding them to the * The function is responsible for loading the features and adding them to the
* source. * source.
* @api
* @typedef {function(this:ol.source.Vector, ol.Extent, number, * @typedef {function(this:ol.source.Vector, ol.Extent, number,
* ol.proj.Projection)} * ol.proj.Projection)}
*/ */
@@ -156,7 +148,6 @@ ol.FeatureLoader;
* *
* @typedef {function(this: ol.Feature, number): * @typedef {function(this: ol.Feature, number):
* (ol.style.Style|Array.<ol.style.Style>)} * (ol.style.Style|Array.<ol.style.Style>)}
* @api stable
*/ */
ol.FeatureStyleFunction; ol.FeatureStyleFunction;
@@ -169,7 +160,6 @@ ol.FeatureStyleFunction;
* a `{number}` representing the resolution (map units per pixel) and an * a `{number}` representing the resolution (map units per pixel) and an
* {@link ol.proj.Projection} for the projection as arguments and returns a * {@link ol.proj.Projection} for the projection as arguments and returns a
* `{string}` representing the URL. * `{string}` representing the URL.
* @api
* @typedef {function(ol.Extent, number, ol.proj.Projection) : string} * @typedef {function(ol.Extent, number, ol.proj.Projection) : string}
*/ */
ol.FeatureUrlFunction; ol.FeatureUrlFunction;
@@ -201,7 +191,6 @@ ol.ImageCanvasLoader;
* image element would be set to a data URI when the content is loaded. * image element would be set to a data URI when the content is loaded.
* *
* @typedef {function(ol.Image, string)} * @typedef {function(ol.Image, string)}
* @api
*/ */
ol.ImageLoadFunctionType; ol.ImageLoadFunctionType;
@@ -238,7 +227,6 @@ ol.LayerState;
* One of `all`, `bbox`, `tile`. * One of `all`, `bbox`, `tile`.
* *
* @typedef {function(ol.Extent, number): Array.<ol.Extent>} * @typedef {function(ol.Extent, number): Array.<ol.Extent>}
* @api
*/ */
ol.LoadingStrategy; ol.LoadingStrategy;
@@ -269,7 +257,6 @@ ol.MapOptionsInternal;
* An array with two elements, representing a pixel. The first element is the * An array with two elements, representing a pixel. The first element is the
* x-coordinate, the second the y-coordinate of the pixel. * x-coordinate, the second the y-coordinate of the pixel.
* @typedef {Array.<number>} * @typedef {Array.<number>}
* @api stable
*/ */
ol.Pixel; ol.Pixel;
@@ -286,7 +273,6 @@ ol.PostRenderFunction;
* second argument. Return `true` to keep this function for the next frame, * second argument. Return `true` to keep this function for the next frame,
* `false` to remove it. * `false` to remove it.
* @typedef {function(ol.Map, ?olx.FrameState): boolean} * @typedef {function(ol.Map, ?olx.FrameState): boolean}
* @api
*/ */
ol.PreRenderFunction; ol.PreRenderFunction;
@@ -327,7 +313,6 @@ ol.RotationConstraintType;
/** /**
* An array of numbers representing a size: `[width, height]`. * An array of numbers representing a size: `[width, height]`.
* @typedef {Array.<number>} * @typedef {Array.<number>}
* @api stable
*/ */
ol.Size; ol.Size;
@@ -399,7 +384,6 @@ ol.SourceUrlTileOptions;
* An array of three numbers representing the location of a tile in a tile * An array of three numbers representing the location of a tile in a tile
* grid. The order is `z`, `x`, and `y`. `z` is the zoom level. * grid. The order is `z`, `x`, and `y`. `z` is the zoom level.
* @typedef {Array.<number>} ol.TileCoord * @typedef {Array.<number>} ol.TileCoord
* @api
*/ */
ol.TileCoord; ol.TileCoord;
@@ -409,7 +393,6 @@ ol.TileCoord;
* the url as arguments. * the url as arguments.
* *
* @typedef {function(ol.Tile, string)} * @typedef {function(ol.Tile, string)}
* @api
*/ */
ol.TileLoadFunctionType; ol.TileLoadFunctionType;
@@ -444,7 +427,6 @@ ol.TileReplayState;
* *
* @typedef {function(ol.TileCoord, number, * @typedef {function(ol.TileCoord, number,
* ol.proj.Projection): (string|undefined)} * ol.proj.Projection): (string|undefined)}
* @api
*/ */
ol.TileUrlFunctionType; ol.TileUrlFunctionType;
@@ -456,7 +438,6 @@ ol.TileUrlFunctionType;
* returns the output array. * returns the output array.
* *
* @typedef {function(Array.<number>, Array.<number>=, number=): Array.<number>} * @typedef {function(Array.<number>, Array.<number>=, number=): Array.<number>}
* @api stable
*/ */
ol.TransformFunction; ol.TransformFunction;
@@ -478,7 +459,6 @@ ol.WebglTextureCacheEntry;
* Number of features; bounds/extent. * Number of features; bounds/extent.
* @typedef {{numberOfFeatures: number, * @typedef {{numberOfFeatures: number,
* bounds: ol.Extent}} * bounds: ol.Extent}}
* @api stable
*/ */
ol.WFSFeatureCollectionMetadata; ol.WFSFeatureCollectionMetadata;
@@ -489,7 +469,6 @@ ol.WFSFeatureCollectionMetadata;
* totalInserted: number, * totalInserted: number,
* totalUpdated: number, * totalUpdated: number,
* insertIds: Array.<string>}} * insertIds: Array.<string>}}
* @api stable
*/ */
ol.WFSTransactionResponse; ol.WFSTransactionResponse;
@@ -526,7 +505,6 @@ ol.XmlSerializer;
* `{boolean}`. If the condition is met, true should be returned. * `{boolean}`. If the condition is met, true should be returned.
* *
* @typedef {function(ol.MapBrowserEvent): boolean} * @typedef {function(ol.MapBrowserEvent): boolean}
* @api stable
*/ */
ol.events.ConditionType; ol.events.ConditionType;
@@ -550,7 +528,6 @@ ol.events.EventTargetLike;
* listener: ol.events.ListenerFunctionType, * listener: ol.events.ListenerFunctionType,
* target: (EventTarget|ol.events.EventTarget), * target: (EventTarget|ol.events.EventTarget),
* type: string}} * type: string}}
* @api
*/ */
ol.events.Key; ol.events.Key;
@@ -560,7 +537,6 @@ ol.events.Key;
* When the function returns `false`, event propagation will stop. * When the function returns `false`, event propagation will stop.
* *
* @typedef {function(ol.events.Event)|function(ol.events.Event): boolean} * @typedef {function(ol.events.Event)|function(ol.events.Event): boolean}
* @api
*/ */
ol.events.ListenerFunctionType; ol.events.ListenerFunctionType;
@@ -570,7 +546,6 @@ ol.events.ListenerFunctionType;
* {@link ol.Pixel}s and returns a `{boolean}`. If the condition is met, * {@link ol.Pixel}s and returns a `{boolean}`. If the condition is met,
* true should be returned. * true should be returned.
* @typedef {function(ol.MapBrowserEvent, ol.Pixel, ol.Pixel):boolean} * @typedef {function(ol.MapBrowserEvent, ol.Pixel, ol.Pixel):boolean}
* @api
*/ */
ol.interaction.DragBoxEndConditionType; ol.interaction.DragBoxEndConditionType;
@@ -583,7 +558,6 @@ ol.interaction.DragBoxEndConditionType;
* @typedef {function(!(ol.Coordinate|Array.<ol.Coordinate>| * @typedef {function(!(ol.Coordinate|Array.<ol.Coordinate>|
* Array.<Array.<ol.Coordinate>>), ol.geom.SimpleGeometry=): * Array.<Array.<ol.Coordinate>>), ol.geom.SimpleGeometry=):
* ol.geom.SimpleGeometry} * ol.geom.SimpleGeometry}
* @api
*/ */
ol.interaction.DrawGeometryFunctionType; ol.interaction.DrawGeometryFunctionType;
@@ -604,7 +578,6 @@ ol.interaction.SegmentDataType;
* or `false` otherwise. * or `false` otherwise.
* @typedef {function((ol.Feature|ol.render.Feature), ol.layer.Layer): * @typedef {function((ol.Feature|ol.render.Feature), ol.layer.Layer):
* boolean} * boolean}
* @api
*/ */
ol.interaction.SelectFilterFunction; ol.interaction.SelectFilterFunction;
@@ -632,38 +605,30 @@ ol.interaction.SnapSegmentDataType;
* A projection as {@link ol.proj.Projection}, SRS identifier string or * A projection as {@link ol.proj.Projection}, SRS identifier string or
* undefined. * undefined.
* @typedef {ol.proj.Projection|string|undefined} ol.proj.ProjectionLike * @typedef {ol.proj.Projection|string|undefined} ol.proj.ProjectionLike
* @api stable
*/ */
ol.proj.ProjectionLike; ol.proj.ProjectionLike;
/** /**
* A function that takes an array of input data, performs some operation, and * A function that takes an array of input data, performs some operation, and
* returns an array of ouput data. For `'pixel'` type operations, functions * returns an array of ouput data.
* will be called with an array of {@link ol.raster.Pixel} data and should * For `pixel` type operations, the function will be called with an array of
* return an array of the same. For `'image'` type operations, functions will * pixels, where each pixel is an array of four numbers (`[r, g, b, a]`) in the
* be called with an array of {@link ImageData * range of 0 - 255. It should return a single pixel array.
* https://developer.mozilla.org/en-US/docs/Web/API/ImageData} and should return * For `'image'` type operations, functions will be called with an array of
* an array of the same. The operations are called with a second "data" * {@link ImageData https://developer.mozilla.org/en-US/docs/Web/API/ImageData}
* argument, which can be used for storage. The data object is accessible * and should return a single {@link ImageData
* from raster events, where it can be initialized in "beforeoperations" and * https://developer.mozilla.org/en-US/docs/Web/API/ImageData}. The operations
* accessed again in "afteroperations". * are called with a second "data" argument, which can be used for storage. The
* data object is accessible from raster events, where it can be initialized in
* "beforeoperations" and accessed again in "afteroperations".
* *
* @typedef {function((Array.<ol.raster.Pixel>|Array.<ImageData>), Object): * @typedef {function((Array.<Array.<number>>|Array.<ImageData>), Object):
* (Array.<ol.raster.Pixel>|Array.<ImageData>)} * (Array.<number>|ImageData)}
* @api
*/ */
ol.raster.Operation; ol.raster.Operation;
/**
* An array of numbers representing pixel values.
* @typedef {Array.<number>} ol.raster.Pixel
* @api
*/
ol.raster.Pixel;
/** /**
* @typedef {{x: number, y: number, width: number, height: number}} * @typedef {{x: number, y: number, width: number, height: number}}
*/ */
@@ -713,7 +678,6 @@ ol.style.ImageOptions;
* *
* @typedef {function((ol.Feature|ol.render.Feature)): * @typedef {function((ol.Feature|ol.render.Feature)):
* (ol.geom.Geometry|ol.render.Feature|undefined)} * (ol.geom.Geometry|ol.render.Feature|undefined)}
* @api
*/ */
ol.style.GeometryFunction; ol.style.GeometryFunction;
@@ -739,6 +703,5 @@ ol.style.RegularShapeRenderOptions;
* *
* @typedef {function((ol.Feature|ol.render.Feature), number): * @typedef {function((ol.Feature|ol.render.Feature), number):
* (ol.style.Style|Array.<ol.style.Style>)} * (ol.style.Style|Array.<ol.style.Style>)}
* @api
*/ */
ol.style.StyleFunction; ol.style.StyleFunction;