Skip to content

Instantly share code, notes, and snippets.

@elijahzarlin
Last active October 23, 2018 18:50
Show Gist options
  • Save elijahzarlin/72b8ff34a8e6e503c449016bacb0d4c9 to your computer and use it in GitHub Desktop.
Save elijahzarlin/72b8ff34a8e6e503c449016bacb0d4c9 to your computer and use it in GitHub Desktop.
hurricane-map-1
const errorRadiusKm = ruler.distance([item.lon, item.lat], [item.lon + errorRadiusDeg, item.lat]);
const circle = turf.circle([item.lon, item.lat], errorRadiusKm, {steps: 32, units: 'kilometers'});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment