1.1.0 • Published 5 years ago

coordinate-drawer v1.1.0

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

coordinate-drawer

Version 1.0.4

Creator of coordinates for a square/rectangle base figure, returns and/or displays the four corners with their own coordinate numbers given height and width in kilometers.

Main methods

newLatitude

params
response

Returns latitude in float format with 6 decimal places.

newLongitude

params
response

Returns longitude in float format with 6 decimal places.

calculateCoordinatesCorner

params
options:
  • northWest
  • northEast
  • southEast
  • southWest
  • all
response

Returns lat/long in float format with 6 decimal places depending on the corner (quadrant) selected.

getDistance

params
response

Returns distance in kilometers by default, but can choose between kilometers, meters, nauticalMiles and miles.

1.1.0

5 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago