to-coordinates

0.0.1 • Public • Published

to-coordinates

Parse coordinate strings.

Example

var latLng = require('to-coordinates');
 
var coords = latLng('-100.21, 21.32');
// => [-100.21, 21.32]
 
var box = latLng.box('(-100.21, 21.32), (88.31, -32.11)');
// => [[-100.21, 21.32], [88.31, -32.11]]

Licence

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i to-coordinates

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • eivifj