UNPKG

global-mercator

Version:
33 lines (28 loc) 1.14 kB
toc: # - name: Global Mercator # description: | # A set of tools geospatial tools to help with TMS, Google (XYZ) Tiles. # > This library is insipered by GDAL2Tiles, Google Summer of Code 2007 & 2008 # - name: Installation # description: | # Using npm: # ```bash # $ npm install --save global-mercator # ``` # In Node.js: # ```javascript # // Load all functions # import * as mercator from 'global-mercator' # // Load a single function # import { latLngToMeters } from 'global-mercator' # ``` paths: Google: "https://en.wikipedia.org/wiki/Tiled_web_map" Tile: "https://en.wikipedia.org/wiki/Tiled_web_map" Pixels: "https://msdn.microsoft.com/en-us/library/bb259689.aspx" Quadkey: "https://msdn.microsoft.com/en-us/library/bb259689.aspx" Meters: "https://en.wikipedia.org/wiki/Web_Mercator" LatLng: "https://en.wikipedia.org/wiki/World_Geodetic_System" LngLat: "https://en.wikipedia.org/wiki/World_Geodetic_System" bbox: "http://geojson.org/geojson-spec.html#bounding-boxes" Zoom: "http://wiki.openstreetmap.org/wiki/Zoom_levels"