I have perfect circles in lon/lat on a OpenLayers map.
Near the Equator I locate each point on the circle using bearing-calculation for each point from circle-center. Meaning there are 360 bearings as there are 360 lon/lat points:
1.deg on circle = 1deg bearing/2.deg on circle = 2deg bearing....etc).
When I move a circle north of the Equator I'm not able to do this anymore due to the following explanation: https://en.wikipedia.org/wiki/Bearing_(navigation):
How can I "locate" each point on the circle by calculation from the circle center when circles are "off equator". Bearing calculation is not a requirement, I just need to locate every point per degree in a circle?
Background: First I thought this was a projection problem, however I now have discovered that it is a calculation problem as several of the points on the circle gets the same bearing:
Update 11.sept: Attached is an example, i try to locate each point and draw a line between them. For each bearing (0-359) i use "Destination point given distance and bearing from start point" from this site: https://www.movable-type.co.uk/scripts/latlong.html where the center-point is the start point and distance is constant.
This does not work, obviously, as the bearing calculation is off away from Equator. How can I calculate correct bearing away from Equator?
Or any suggestions how to solve this by other means? Trigonometric, math or whatever? ( The map is not imporatant, but the final shape is... )