@map-colonies/tile-calc

0.1.5 • Public • Published

tile-calc

tile-calc is a map tiles calculations utility package

Documentation

see docs

OGC Two Dimensional Tile Matrix Set

There is a resemblance between this implementation of TileGrid and OGC's definition of tile TileMatrixSet, but please notice that they are not identical. Some key differences:

  • This implementation currently does not implement TileMatrix
    • Tile indexes are assumed to start from 0 index
    • Scale factor between zoom levels is assumed to be constant and equal to a constant value (2), affecting the number of tile columns and rows per zoom level
    • Bounding box keeps its size between zoom levels
    • Tile sizes are constant

Installation

npm install @map-colonies/tile-calc

Running Tests

npm run test

Readme

Keywords

none

Package Sidebar

Install

npm i @map-colonies/tile-calc

Weekly Downloads

8

Version

0.1.5

License

ISC

Unpacked Size

46.7 kB

Total Files

27

Last publish

Collaborators

  • mapcolonies
  • syncush
  • asaf.masa
  • schnitz
  • shahar_s
  • konchashlomicl
  • shimoncohen
  • alebinson
  • rannyeli
  • tropface
  • glata95