Skip to content

Commit

Permalink
Fix missing API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
probins committed Aug 11, 2014
1 parent 9db936f commit d9976ca
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
7 changes: 0 additions & 7 deletions externs/olx.js
Expand Up @@ -22,13 +22,6 @@ olx.AttributionOptions;
olx.AttributionOptions.prototype.html;


/**
* Tile ranges (FOR INTERNAL USE ONLY).
* @type {Object.<string, Array.<ol.TileRange>>|undefined}
*/
olx.AttributionOptions.prototype.tileRanges;


/**
* @typedef {{loadTilesWhileAnimating: (boolean|undefined),
* loadTilesWhileInteracting: (boolean|undefined)}}
Expand Down
3 changes: 3 additions & 0 deletions src/ol/format.jsdoc
@@ -0,0 +1,3 @@
/**
* @namespace ol.format
*/
2 changes: 2 additions & 0 deletions src/ol/format/igcformat.js
Expand Up @@ -11,7 +11,9 @@ goog.require('ol.proj');


/**
* IGC altitude/z. One of 'barometric', 'gps', 'none'.
* @enum {string}
* @api
*/
ol.format.IGCZ = {
BAROMETRIC: 'barometric',
Expand Down
8 changes: 6 additions & 2 deletions src/ol/format/wfsformat.js
Expand Up @@ -65,17 +65,21 @@ ol.format.WFS.xmlns = 'http://www.w3.org/2000/xmlns/';


/**
* Number of features; bounds/extent.
* @typedef {{numberOfFeatures: number,
* bounds: ol.Extent}}
* @api
*/
ol.format.WFS.FeatureCollectionMetadata;


/**
* Total deleted; total inserted; total updated; array of insert ids.
* @typedef {{totalDeleted: number,
* totalInserted: number,
totalUpdated: number,
insertIds: Array.<string>}}
* totalUpdated: number,
* insertIds: Array.<string>}}
* @api
*/
ol.format.WFS.TransactionResponse;

Expand Down
2 changes: 2 additions & 0 deletions src/ol/source/wmtssource.js
Expand Up @@ -16,7 +16,9 @@ goog.require('ol.tilegrid.WMTS');


/**
* Request encoding. One of 'KVP', 'REST'.
* @enum {string}
* @api
*/
ol.source.WMTSRequestEncoding = {
KVP: 'KVP', // see spec §8
Expand Down
4 changes: 4 additions & 0 deletions src/ol/style/iconstyle.js
Expand Up @@ -14,7 +14,9 @@ goog.require('ol.style.ImageState');


/**
* Icon anchor units. One of 'fraction', 'pixels'.
* @enum {string}
* @api
*/
ol.style.IconAnchorUnits = {
FRACTION: 'fraction',
Expand All @@ -23,7 +25,9 @@ ol.style.IconAnchorUnits = {


/**
* Icon origin. One of 'bottom-left', 'bottom-right', 'top-left', 'top-right'.
* @enum {string}
* @api
*/
ol.style.IconOrigin = {
BOTTOM_LEFT: 'bottom-left',
Expand Down

0 comments on commit d9976ca

Please sign in to comment.