function(initialLat, distance, bearing) #distance in meters
er<-6371000# earths radius in meters
asin(sin(initialLat)*cos(distance/er)+cos(initialLat)*sin(distance/er)*cos(bearing)) #Latitude Rad
Any scripts or data that you put into this service are public.
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.