Skip to content

Commit

Permalink
Minor doc/formatting tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Aug 23, 2015
1 parent ec0dd04 commit 110f8c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Scene/UrlTemplateImageryProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ define([
* <li><code>{s}</code>: One of the available subdomains, used to overcome browser limits on the number of simultaneous requests per host.</li>
* <li><code>{reverseX}</code>: The tile X coordinate in the tiling scheme, where 0 is the Easternmost tile.</li>
* <li><code>{reverseY}</code>: The tile Y coordinate in the tiling scheme, where 0 is the Southernmost tile.</li>
* <li><code>{reverseZ}</code>: The level of the tile in the tiling scheme. Level zero is the maximum level of the quadtree pyramid. In order to use reverseZ, maximumLevel must be defined</li>
* <li><code>{reverseZ}</code>: The level of the tile in the tiling scheme, where level zero is the maximum level of the quadtree pyramid. In order to use reverseZ, maximumLevel must be defined.</li>
* <li><code>{westDegrees}</code>: The Western edge of the tile in geodetic degrees.</li>
* <li><code>{southDegrees}</code>: The Southern edge of the tile in geodetic degrees.</li>
* <li><code>{eastDegrees}</code>: The Eastern edge of the tile in geodetic degrees.</li>
Expand Down Expand Up @@ -202,7 +202,7 @@ define([
* <li> <code>{s}</code>: One of the available subdomains, used to overcome browser limits on the number of simultaneous requests per host.</li>
* <li> <code>{reverseX}</code>: The tile X coordinate in the tiling scheme, where 0 is the Easternmost tile.</li>
* <li> <code>{reverseY}</code>: The tile Y coordinate in the tiling scheme, where 0 is the Southernmost tile.</li>
* <li> <code>{reverseZ}</code>: The level of the tile in the tiling scheme. Level zero is the maximum level of the quadtree pyramid. In order to use reverseZ, maximumLevel must be defined</li>
* <li> <code>{reverseZ}</code>: The level of the tile in the tiling scheme, where level zero is the maximum level of the quadtree pyramid. In order to use reverseZ, maximumLevel must be defined.</li>
* <li> <code>{westDegrees}</code>: The Western edge of the tile in geodetic degrees.</li>
* <li> <code>{southDegrees}</code>: The Southern edge of the tile in geodetic degrees.</li>
* <li> <code>{eastDegrees}</code>: The Eastern edge of the tile in geodetic degrees.</li>
Expand Down Expand Up @@ -601,8 +601,8 @@ define([
}

function reverseZTag(imageryProvider, x, y, level) {
var maximumLevel=imageryProvider.maximumLevel;
return (defined(maximumLevel) && level<maximumLevel) ? maximumLevel-level-1:level;
var maximumLevel = imageryProvider.maximumLevel;
return defined(maximumLevel) && level < maximumLevel ? maximumLevel - level - 1 : level;
}

function zTag(imageryProvider, x, y, level) {
Expand Down

0 comments on commit 110f8c6

Please sign in to comment.