Re: [openlayers-dev] Adding Geodesic Lines

2020-11-30 Thread OpenLayers Dev
Andreas, That was my thought: to use Arc to make this feature possible. The best route seems to be to extend LineString or MultiLineString, and use Arc within that new class to build great circle arcs. It would abstract the arc generation away from the user, but, since it would extend

Re: [openlayers-dev] Adding Geodesic Lines

2020-11-30 Thread OpenLayers Dev
Hey Michael, thanks for your interest in OpenLayers, and for willing to improve the library. I'm not sure if it makes sense to add such a feature to OpenLayers, because there is a library (arc, https://www.npmjs.com/package/arc) already which provides that. You can see that it integrates well

[openlayers-dev] Adding Geodesic Lines

2020-11-30 Thread Michael Jurkoic via OpenLayers Dev
Hello, I am interested in contributing code to OpenLayers that will allow users to draw geodesic (great circle) arcs between two points. I've read the contributing guide, and I am starting to work on code for the feature. This is my first time contributing to an open source project. Is