@alvarcarto/mapsy

v1.0.2
Map/coordinate/projection utility
tile map utility projection

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

npm i @alvarcarto/mapsy

Metadata

  • MIT
  • Whatever
  • Alvar Carto
  • released 8/26/2018

Downloads