Skip to content

halfmanhalfdonut/distomatic

Repository files navigation

Distomatic

This totally important little app will find the closest professional sports teams to you based on your location (from the browser's gelocation abilities).

Live Demo

See this bad boy live here: https://inexact-scientist.com/distomatic/

How does the Geolocation work?

Geolocation? https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API

How does the earth distance work?

Haversine formula: https://en.wikipedia.org/wiki/Haversine_formula

Testing

  • npm install
  • npm test

Babel is only used for Jest, plain ol' ES6 modules are used within the browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published