global-mercator
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -450,4 +450,6 @@ "use strict"; | ||
* @example | ||
* validateLatLng([-115, 44]) | ||
* //= [-115, 44] | ||
* validateLatLng([60, -125]) | ||
* //= [60, -125] | ||
* validateLatLng([140, -125]) | ||
* //= Error: LatLng [lat] must be within -90 to 90 degrees | ||
*/ | ||
@@ -469,2 +471,4 @@ function validateLatLng(init) { | ||
* //= [-115, 44] | ||
* validateLngLat([-225, 44]) | ||
* //= Error: LatLng [lng] must be within -180 to 180 degrees | ||
*/ | ||
@@ -471,0 +475,0 @@ function validateLngLat(init) { |
@@ -480,4 +480,6 @@ import * as Debug from 'debug' | ||
* @example | ||
* validateLatLng([-115, 44]) | ||
* //= [-115, 44] | ||
* validateLatLng([60, -125]) | ||
* //= [60, -125] | ||
* validateLatLng([140, -125]) | ||
* //= Error: LatLng [lat] must be within -90 to 90 degrees | ||
*/ | ||
@@ -499,2 +501,4 @@ export function validateLatLng(init: number[]) { | ||
* //= [-115, 44] | ||
* validateLngLat([-225, 44]) | ||
* //= Error: LatLng [lng] must be within -180 to 180 degrees | ||
*/ | ||
@@ -501,0 +505,0 @@ export function validateLngLat(init: number[]) { |
{ | ||
"name": "global-mercator", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Global Mercator", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -480,4 +480,6 @@ [![Build Status](https://travis-ci.org/DenisCarriere/global-mercator.svg?branch=master)](https://travis-ci.org/DenisCarriere/global-mercator) | ||
```javascript | ||
validateLatLng([-115, 44]) | ||
//= [-115, 44] | ||
validateLatLng([60, -125]) | ||
//= [60, -125] | ||
validateLatLng([140, -125]) | ||
//= Error: LatLng [lat] must be within -90 to 90 degrees | ||
``` | ||
@@ -502,2 +504,4 @@ | ||
//= [-115, 44] | ||
validateLngLat([-225, 44]) | ||
//= Error: LatLng [lng] must be within -180 to 180 degrees | ||
``` | ||
@@ -504,0 +508,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
876143
23435
611