[GIS] Drawing ellipse in OpenLayers

ellipseopenlayers

How to draw ellipse in OpenLayers? I have not problems with drawing circles, or MultiPolygons, but i need to draw simple ellipse and not found any functions for this action.

Best Answer

Try this extension example -->

http://viglino.github.io/ol-ext/examples/interaction/map.interaction.drawregular.html

Use a number less than three and you will be able to draw an ellipses.

Here is the api -->http://viglino.github.io/ol-ext/doc/doc-pages/ol.interaction.DrawRegular.html