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.3.0 to 1.3.1

.nyc_output/ad163412812433eaee9fabf5a0a7f937.json

50

HEADER.md

@@ -33,26 +33,26 @@ [![Build Status](https://travis-ci.org/DenisCarriere/global-mercator.svg?branch=master)](https://travis-ci.org/DenisCarriere/global-mercator)

| Function | Description |
|----------------------------|:------------|
| lngLatToMeters(lnglat) | Converts LngLat coordinates to Meters coordinates.
| metersToLngLat(meters) | Converts Meters coordinates to LngLat coordinates.
| metersToPixels(meters) | Converts Meters coordinates to Pixels coordinates.
| lngLatToTile(lnglat) | Converts LngLat coordinates to TMS Tile.
| lngLatToGoogle(lnglat) | Converts LngLat coordinates to Google (XYZ) Tile.
| metersToTile(meters) | Converts Meters coordinates to TMS Tile.
| pixelsToMeters(pixels) | Converts Pixels coordinates to Meters coordinates.
| pixelsToTile(pixels) | Converts Pixels coordinates to TMS Tile.
| tileToBBoxMeters(tile) | Converts TMS Tile to bbox in Meters coordinates.
| tileToBBox(tile) | Converts TMS Tile to bbox in LngLat coordinates.
| googleToBBoxMeters(google) | Converts Google (XYZ) Tile to bbox in Meters coordinates.
| googleToBBox(google) | Converts Google (XYZ) Tile to bbox in LngLat coordinates.
| tileToGoogle(tile) | Converts TMS Tile to Google (XYZ) Tile.
| googleToTile(google) | Converts Google (XYZ) Tile to TMS Tile.
| googleToQuadkey(google) | Converts Google (XYZ) Tile to Quadkey.
| tileToQuadkey(tile) | Converts TMS Tile to QuadKey.
| quadkeyToTile(quadkey) | Converts Quadkey to TMS Tile.
| quadkeyToGoogle(quadkey) | Converts Quadkey to Google (XYZ) Tile.
| bboxToMeters(bbox) | Converts BBox from LngLat coordinates to Meters coordinates
| grid | Creates an Iterator of Tiles from a given BBox
| gridBulk | Creates a bulk Iterator of Tiles from a given BBox
| gridLevels | Creates a grid level pattern of arrays
| gridCount | Counts the total amount of tiles from a given BBox
| Function | Description |
|-----------------------------------------------------------|:------------|
| [lngLatToMeters(LngLat)](#lnglattometers) | Converts LngLat coordinates to Meters coordinates.
| [metersToLngLat(Meters)](#meterstolnglat) | Converts Meters coordinates to LngLat coordinates.
| [metersToPixels(Meters, zoom)](#meterstopixels) | Converts Meters coordinates to Pixels coordinates.
| [lngLatToTile(LngLat, zoom)](#lnglattotile) | Converts LngLat coordinates to TMS Tile.
| [lngLatToGoogle(LngLat, zoom)](#lnglattogoogle) | Converts LngLat coordinates to Google (XYZ) Tile.
| [metersToTile(Meters, zoom)](#meterstotile) | Converts Meters coordinates to TMS Tile.
| [pixelsToMeters(Pixels)](#pixelstometers) | Converts Pixels coordinates to Meters coordinates.
| [pixelsToTile(Pixels)](#pixelstotile) | Converts Pixels coordinates to TMS Tile.
| [tileToBBoxMeters(tile)](#tiletobboxmeters) | Converts TMS Tile to bbox in Meters coordinates.
| [tileToBBox(tile)](#tiletobbox) | Converts TMS Tile to bbox in LngLat coordinates.
| [googleToBBoxMeters(google)](#googletobboxmeters) | Converts Google (XYZ) Tile to bbox in Meters coordinates.
| [googleToBBox(google)](#googletobbox) | Converts Google (XYZ) Tile to bbox in LngLat coordinates.
| [tileToGoogle(tile)](#tiletogoogle) | Converts TMS Tile to Google (XYZ) Tile.
| [googleToTile(google)](#googletotile) | Converts Google (XYZ) Tile to TMS Tile.
| [googleToQuadkey(google)](#googletoquadkey) | Converts Google (XYZ) Tile to Quadkey.
| [tileToQuadkey(tile)](#tiletoquadkey) | Converts TMS Tile to QuadKey.
| [quadkeyToTile(quadkey)](#quadkeytotile) | Converts Quadkey to TMS Tile.
| [quadkeyToGoogle(quadkey)](#quadkeytogoogle) | Converts Quadkey to Google (XYZ) Tile.
| [bboxToMeters(bbox)](#bboxtometers) | Converts BBox from LngLat coordinates to Meters coordinates
| [grid(BBox, minZoom, maxZoom)](#grid) | Creates an Iterator of Tiles from a given BBox
| [gridBulk(BBox, minZoom, maxZoom, size)](#gridbulk) | Creates a bulk Iterator of Tiles from a given BBox
| [gridLevels(BBox, minZoom, maxZoom)](#gridlevels) | Creates a grid level pattern of arrays
| [gridCount(BBox, minZoom, maxZoom)](#gridcount) | Counts the total amount of tiles from a given BBox
{
"name": "global-mercator",
"version": "1.3.0",
"version": "1.3.1",
"description": "Tools to help with TMS, Quadkey & Google (XYZ) Tiles",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -33,27 +33,27 @@ [![Build Status](https://travis-ci.org/DenisCarriere/global-mercator.svg?branch=master)](https://travis-ci.org/DenisCarriere/global-mercator)

| Function | Description |
|----------------------------|:------------|
| lngLatToMeters(lnglat) | Converts LngLat coordinates to Meters coordinates.
| metersToLngLat(meters) | Converts Meters coordinates to LngLat coordinates.
| metersToPixels(meters) | Converts Meters coordinates to Pixels coordinates.
| lngLatToTile(lnglat) | Converts LngLat coordinates to TMS Tile.
| lngLatToGoogle(lnglat) | Converts LngLat coordinates to Google (XYZ) Tile.
| metersToTile(meters) | Converts Meters coordinates to TMS Tile.
| pixelsToMeters(pixels) | Converts Pixels coordinates to Meters coordinates.
| pixelsToTile(pixels) | Converts Pixels coordinates to TMS Tile.
| tileToBBoxMeters(tile) | Converts TMS Tile to bbox in Meters coordinates.
| tileToBBox(tile) | Converts TMS Tile to bbox in LngLat coordinates.
| googleToBBoxMeters(google) | Converts Google (XYZ) Tile to bbox in Meters coordinates.
| googleToBBox(google) | Converts Google (XYZ) Tile to bbox in LngLat coordinates.
| tileToGoogle(tile) | Converts TMS Tile to Google (XYZ) Tile.
| googleToTile(google) | Converts Google (XYZ) Tile to TMS Tile.
| googleToQuadkey(google) | Converts Google (XYZ) Tile to Quadkey.
| tileToQuadkey(tile) | Converts TMS Tile to QuadKey.
| quadkeyToTile(quadkey) | Converts Quadkey to TMS Tile.
| quadkeyToGoogle(quadkey) | Converts Quadkey to Google (XYZ) Tile.
| bboxToMeters(bbox) | Converts BBox from LngLat coordinates to Meters coordinates
| grid | Creates an Iterator of Tiles from a given BBox
| gridBulk | Creates a bulk Iterator of Tiles from a given BBox
| gridLevels | Creates a grid level pattern of arrays
| gridCount | Counts the total amount of tiles from a given BBox
| Function | Description |
|-----------------------------------------------------------|:------------|
| [lngLatToMeters(LngLat)](#lnglattometers) | Converts LngLat coordinates to Meters coordinates.
| [metersToLngLat(Meters)](#meterstolnglat) | Converts Meters coordinates to LngLat coordinates.
| [metersToPixels(Meters, zoom)](#meterstopixels) | Converts Meters coordinates to Pixels coordinates.
| [lngLatToTile(LngLat, zoom)](#lnglattotile) | Converts LngLat coordinates to TMS Tile.
| [lngLatToGoogle(LngLat, zoom)](#lnglattogoogle) | Converts LngLat coordinates to Google (XYZ) Tile.
| [metersToTile(Meters, zoom)](#meterstotile) | Converts Meters coordinates to TMS Tile.
| [pixelsToMeters(Pixels)](#pixelstometers) | Converts Pixels coordinates to Meters coordinates.
| [pixelsToTile(Pixels)](#pixelstotile) | Converts Pixels coordinates to TMS Tile.
| [tileToBBoxMeters(tile)](#tiletobboxmeters) | Converts TMS Tile to bbox in Meters coordinates.
| [tileToBBox(tile)](#tiletobbox) | Converts TMS Tile to bbox in LngLat coordinates.
| [googleToBBoxMeters(google)](#googletobboxmeters) | Converts Google (XYZ) Tile to bbox in Meters coordinates.
| [googleToBBox(google)](#googletobbox) | Converts Google (XYZ) Tile to bbox in LngLat coordinates.
| [tileToGoogle(tile)](#tiletogoogle) | Converts TMS Tile to Google (XYZ) Tile.
| [googleToTile(google)](#googletotile) | Converts Google (XYZ) Tile to TMS Tile.
| [googleToQuadkey(google)](#googletoquadkey) | Converts Google (XYZ) Tile to Quadkey.
| [tileToQuadkey(tile)](#tiletoquadkey) | Converts TMS Tile to QuadKey.
| [quadkeyToTile(quadkey)](#quadkeytotile) | Converts Quadkey to TMS Tile.
| [quadkeyToGoogle(quadkey)](#quadkeytogoogle) | Converts Quadkey to Google (XYZ) Tile.
| [bboxToMeters(bbox)](#bboxtometers) | Converts BBox from LngLat coordinates to Meters coordinates
| [grid(BBox, minZoom, maxZoom)](#grid) | Creates an Iterator of Tiles from a given BBox
| [gridBulk(BBox, minZoom, maxZoom, size)](#gridbulk) | Creates a bulk Iterator of Tiles from a given BBox
| [gridLevels(BBox, minZoom, maxZoom)](#gridlevels) | Creates a grid level pattern of arrays
| [gridCount(BBox, minZoom, maxZoom)](#gridcount) | Counts the total amount of tiles from a given BBox
# lngLatToMeters

@@ -60,0 +60,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