@alvarcarto/mapsy

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i @alvarcarto/mapsy

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

47.8 kB

Total Files

18

Last publish

Collaborators

  • alvarcarto-integration
  • kimmobrunfeldt