Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

global-mercator

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

global-mercator - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

.nyc_output/8e853ed767fa1c700e4abde0685ea3f4.json

6

index.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc