- Drop strict
[number, number]
for LngLat inputs
- Added
bboxToTile
- Support ES modules
- Update docs to match https://wzrd.in
- Drop Tile Y wrapping
- Add
wrapTile
method - Include tests side by side with
tilebelt
- Fixed issue with
tileToQuadkey
- Drop rollup setup
- Add Git URL repo to
package.json
- Added
longitude
&latitude
as exposed methods - Dropped
bbox-dateline
from dependencies - Remove Jest in favor of a minimalistic test suite (Tap)
- Add
validTile
method
- Fix LatLng validation (issue with lat being a lng)
- Add minified build using Uglifyjs
- Improve lat & lng validation
- Add automated Table of Contents
- Remove
throw Error
in Lat & Lng validation process - Handle Lat & Lng with +/-180 degrees
- Add
validate
as optionalfalse
param
- Bundle to UMD
- Modify rollup config
- Output browser bundle to
docs/
- Added
maxBBox
method - Added Benchmark performance testing
- Convert to ES5
- Convert project to support Rollup
- Add
tileSize
@param - Dropped Grid methods (BREAKS backwards compatibility - Major release 2.X)
- Support browser, nodejs & commonjs
- Update fixed bbox if zoom level = 0
- Add validation to latlng
- Add validation to tiles
- Publish web browser support for ES6.
- Refactoring entire codebase to standard Javascript
- BBox reduced decimal precision to 6
- bboxToCenter toFixed(6)
- Lat & Lng decimal toFixed(6)
- Meters toFixed(1)
- Add bboxToCenter & hash function
- Enforce strict [number, number] instead of number[]
- Replace test tools for Jest
- Added Circle CI testing
Reduce library size by 430% (350KB to 80KB)
- Update typings to allow
number[]
- Enforcing validation with
validateLngLat
,validateMeters
&validateTile
- Reviewed entire documentation
- Dropped zoom
@param
from functions with only LatLng & Meters.
lngLatToMeters([lng, lat, zoom])
// Changed to
lngLatToMeters([lng, lat])
metersToLngLat([x, y, zoom])
// Changed to
metersToLngLat([x, y])
Added new features:
grid
- Creates an Iterator of Tiles from a given BBoxgridBulk
- Creates a bulk Iterator of Tiles from a given BBoxgridLevels
- Creates a grid level pattern of arraysgridCount
- Counts the total amount of tiles from a given BBox
- Remove Default export
- Modules compiles only to ES6
First Stable release was created