@alvarcarto/mapsy
v1.0.2
Published
Map/coordinate/projection utility
Downloads
6
Readme
mapsy
Map/coordinate/projection utility
npm install @alvarcarto/mapsy
Examples
const fs = require('fs');
const { getBoundsZoom } = require('@alvarcarto/mapsy');
const zoom = getBoundsZoom({
swLat: 32.473,
swLng: -15.594,
neLat: 45.298,
neLng: 8.056,
}, {
width: 1200, height: 800
})
Contributors
Release
Commit all changes.
Use np to automate the release:
np
Edit GitHub release notes.
License
Most of the code is a subset of https://github.com/Leaflet/Leaflet.
MIT