diff --git a/docs/slippy-tile.js b/docs/slippy-tile.js index e91f206..52c4828 100644 --- a/docs/slippy-tile.js +++ b/docs/slippy-tile.js @@ -945,7 +945,7 @@ var bboxToMeters = mercator.bboxToMeters; * * @param {Tile} tile Tile [x, y, z] * @param {string} url URL Tile scheme or provider unique key - * @returns {string} + * @returns {string} parsed URL * @example * slippyTile.parse([10, 15, 8], 'https://{s}.tile.openstreetmap.org/{zoom}/{x}/{y}.png') * //='https://c.tile.openstreetmap.org/8/10/15.png' @@ -969,10 +969,9 @@ function parse (tile, url) { /** * Parse WMS URL to friendly SlippyTile format * - * @private * @param {Tile} tile Tile [x, y, z] * @param {string} url WMTS URL scheme - * @returns {string} + * @returns {string} parsed URL * @example * slippyTile.wms([10, 15, 8], 'https:///?layers=imagery&SRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}') * //='https:///?layers=imagery&SRS=EPSG:3857&WIDTH=256&HEIGHT=256&BBOX=-165.9375,82.676285,-164.53125,82.853382' @@ -995,9 +994,8 @@ function wms (tile, url) { /** * Parse WMTS URL to friendly SlippyTile URL format * - * @private * @param {string} url WMTS URL scheme - * @returns {string} + * @returns {string} parsed URL * @example * slippyTile.wmts('https:///WMTS/tile/1.0.0/Imagery/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg') * //='https:///WMTS/tile/1.0.0/Imagery/default/GoogleMapsCompatible/{z}/{y}/{x}.jpg' @@ -1014,7 +1012,6 @@ function wmts (url) { /** * Replaces {switch:a,b,c} with a random sample. * - * @private * @param {string} url - URL Scheme * @returns {string} Parsed URL with switch replaced * @example @@ -1038,7 +1035,6 @@ function parseSwitch (url) { /** * Sample an item from a given list * - * @private * @name sample * @param {Array} array List of items * @returns {*} Single item from the list