Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Spherical world utilities
JavaScript
branch: master

0.1.0

latest commit fcd4eeea75
@tmcw tmcw authored

README.md

Build Status

spherical

Spherical world utilities

api

heading(from, to)

Heading expressed as degrees between locations expressed as [lon, lat].

distance(from, to)

Distance in meters between locations expressed as [lon, lat].

radial(from, heading, distance)

Given a location as [lon, lat], heading in degrees, and distance in meters, return another [lon, lat] point of a point at that offset.

credits

Adapted from OpenLayers

Something went wrong with that request. Please try again.