Skip to content

brandoncopeland/geocrunch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geocrunch

Quick and simple geographic calcs

Usage

path(arrayOfCoordPairs, options).distance(options); // returns distance
path(arrayOfCoordPairs, options).area(options); // returns area
path(arrayOfCoordPairs, options).center(); // returns center

Path Options

imBackwards - Path in format [lat, lng] vs expected [lng, lat]

Distance Options

units - meters, feet, miles. Default meters.

Area Options

units - sqmeters, sqmiles, acres. Default sqmeters.

About

Quick and simple geographic calcs

Resources

License

Stars

Watchers

Forks

Packages

No packages published