Situation
I have a circle segment and some information about the circle it belongs to.
Given Information:
- coordinates of the center of the circle (latitude / longitude)
- radius of the circle in meters
- central angle in degrees
I need to calculate the area
of the circle segment in JavaScript. But it should also depend on the radius of the Earth (like great-circle distance).
Problem
I have no idea how to do that and couldn't found any algorithms.
Thanks for help