global-mercator
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -433,3 +433,3 @@ "use strict"; | ||
* @param {number} maxZoom Maximum Zoom | ||
* @param {number} size Maximum size of Tile[] | ||
* @param {number} size Maximum size for bulk Tiles | ||
* @returns {IterableIterator<Tile[]>} Bulk iterable Tiles from BBox | ||
@@ -469,4 +469,4 @@ * @example | ||
* @example | ||
* const count = gridLevels([-180.0, -90.0, 180, 90], 3, 8) | ||
* //=count | ||
* const levels = gridLevels([-180.0, -90.0, 180, 90], 3, 8) | ||
* //=levels | ||
*/ | ||
@@ -473,0 +473,0 @@ function gridLevels(bbox, minZoom, maxZoom) { |
@@ -460,3 +460,3 @@ export const tileSize = 256 | ||
* @param {number} maxZoom Maximum Zoom | ||
* @param {number} size Maximum size of Tile[] | ||
* @param {number} size Maximum size for bulk Tiles | ||
* @returns {IterableIterator<Tile[]>} Bulk iterable Tiles from BBox | ||
@@ -494,4 +494,4 @@ * @example | ||
* @example | ||
* const count = gridLevels([-180.0, -90.0, 180, 90], 3, 8) | ||
* //=count | ||
* const levels = gridLevels([-180.0, -90.0, 180, 90], 3, 8) | ||
* //=levels | ||
*/ | ||
@@ -498,0 +498,0 @@ export function gridLevels(bbox: BBox, minZoom: number, maxZoom: number): GridLevel[] { |
{ | ||
"name": "global-mercator", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Tools to help with TMS, Quadkey & Google (XYZ) Tiles", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -470,3 +470,3 @@ [![Build Status](https://travis-ci.org/DenisCarriere/global-mercator.svg?branch=master)](https://travis-ci.org/DenisCarriere/global-mercator) | ||
- `maxZoom` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** Maximum Zoom | ||
- `size` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** Maximum size of Tile\[] | ||
- `size` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** Maximum size for bulk Tiles | ||
@@ -495,4 +495,4 @@ **Examples** | ||
```javascript | ||
const count = gridLevels([-180.0, -90.0, 180, 90], 3, 8) | ||
//=count | ||
const levels = gridLevels([-180.0, -90.0, 180, 90], 3, 8) | ||
//=levels | ||
``` | ||
@@ -499,0 +499,0 @@ |
141235