Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Mar 15, 2017
1 parent d977ad3 commit 4179b37
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions docs/slippy-tile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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://<Tile Server>/?layers=imagery&SRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}')
* //='https://<Tile Server>/?layers=imagery&SRS=EPSG:3857&WIDTH=256&HEIGHT=256&BBOX=-165.9375,82.676285,-164.53125,82.853382'
Expand All @@ -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://<Tile Server>/WMTS/tile/1.0.0/Imagery/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg')
* //='https://<Tile Server>/WMTS/tile/1.0.0/Imagery/default/GoogleMapsCompatible/{z}/{y}/{x}.jpg'
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4179b37

Please sign in to comment.