global-mercator
Advanced tools
Comparing version 1.3.1 to 1.3.2
# Changelog | ||
## 1.3.0 - 2016-10-14 | ||
## 1.3.1 - 2016-10-14 | ||
- Update typings to allow `number[]` | ||
- Enforcing validation with `validateLngLat`, `validateMeters` & `validateTile` | ||
@@ -6,0 +7,0 @@ - Reviewed entire documentation |
12
index.ts
@@ -8,23 +8,23 @@ export const tileSize = 256 | ||
*/ | ||
export type LngLat = [number, number] | ||
export type LngLat = [number, number] | number[] | ||
/** | ||
* Meters [x, y] | ||
*/ | ||
export type Meters = [number, number] | ||
export type Meters = [number, number] | number[] | ||
/** | ||
* Pixels [x, y, zoom] | ||
*/ | ||
export type Pixels = [number, number, number] | ||
export type Pixels = [number, number, number] | number[] | ||
/** | ||
* BBox extent in [minX, minY, maxX, maxY] order | ||
*/ | ||
export type BBox = [number, number, number, number] | ||
export type BBox = [number, number, number, number] | number[] | ||
/** | ||
* Google [x, y, zoom] | ||
*/ | ||
export type Google = [number, number, number] | ||
export type Google = [number, number, number] | number[] | ||
/** | ||
* Tile [x, y, zoom] | ||
*/ | ||
export type Tile = [number, number, number] | ||
export type Tile = [number, number, number] | number[] | ||
/** | ||
@@ -31,0 +31,0 @@ * Microsoft's Quadkey schema |
{ | ||
"name": "global-mercator", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Tools to help with TMS, Quadkey & Google (XYZ) Tiles", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -582,4 +582,5 @@ [![Build Status](https://travis-ci.org/DenisCarriere/global-mercator.svg?branch=master)](https://travis-ci.org/DenisCarriere/global-mercator) | ||
## 1.3.0 - 2016-10-14 | ||
## 1.3.1 - 2016-10-14 | ||
- Update typings to allow `number[]` | ||
- Enforcing validation with `validateLngLat`, `validateMeters` & `validateTile` | ||
@@ -586,0 +587,0 @@ - Reviewed entire documentation |
289667
615