-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support float zooms in bounds() function (#19)
* Strips trailing whitespace from package.json This formatting change was generated automatically when running `npm install` with npm v6.1.0. * Upgrades node-sphericalmercator to v1.1.0 This version now supports float-based zoom levels. * Adds test for float zoom input for bounds function * Refactors expected test values to be more explicit * Rebuilds dist version of geo-viewport.js with latest sphericalmercator
- Loading branch information
Showing
3 changed files
with
40 additions
and
25 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
{ | ||
"license": "BSD-2-Clause", | ||
"name": "@mapbox/geo-viewport", | ||
"license": "BSD-2-Clause", | ||
"name": "@mapbox/geo-viewport", | ||
"repository": { | ||
"url": "git@github.com:mapbox/geo-viewport.git", | ||
"url": "git@github.com:mapbox/geo-viewport.git", | ||
"type": "git" | ||
}, | ||
"author": "Tom MacWright", | ||
}, | ||
"author": "Tom MacWright", | ||
"bugs": { | ||
"url": "https://github.com/mapbox/geo-viewport/issues" | ||
}, | ||
"version": "0.2.2", | ||
}, | ||
"version": "0.2.2", | ||
"dependencies": { | ||
"@mapbox/sphericalmercator": "~1.0.2" | ||
}, | ||
"@mapbox/sphericalmercator": "~1.1.0" | ||
}, | ||
"scripts": { | ||
"test": "tap test/*.js", | ||
"test": "tap test/*.js", | ||
"build": "browserify -s geoViewport index.js | uglifyjs -c > geo-viewport.js" | ||
}, | ||
}, | ||
"keywords": [ | ||
"geographic", | ||
"viewport", | ||
"zoom", | ||
"geographic", | ||
"viewport", | ||
"zoom", | ||
"scale" | ||
], | ||
], | ||
"devDependencies": { | ||
"browserify": "^13.0.0", | ||
"uglify-js": "^2.6.2", | ||
"browserify": "^13.0.0", | ||
"uglify-js": "^2.6.2", | ||
"tap": "^5.7.0" | ||
}, | ||
"main": "index.js", | ||
"homepage": "https://github.com/mapbox/geo-viewport", | ||
}, | ||
"main": "index.js", | ||
"homepage": "https://github.com/mapbox/geo-viewport", | ||
"description": "convert between viewports and extents" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters