1.0.2 • Published 7 years ago

@alvarcarto/mapsy v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

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