ghettovoice / vuelayers

Web map Vue components with the power of OpenLayers
https://vuelayers.github.io/
MIT License
682 stars 230 forks source link

Circle draw does not correspond to real word scale #438

Closed Nikitoring closed 2 years ago

Nikitoring commented 3 years ago

#192 Solution in this issue doesn't work for me I need to use circle in my project. My solution https://codesandbox.io/s/objective-rgb-xfqln?file=/src/components/Map.vue Do you have another solution or this functional is in new release? I use version 0.11.35

ghettovoice commented 3 years ago

Hello @Nikitoring , if you wan't use circlular polygon then yes, this is the only good solution to adjust small circle radius on the map in EPSG:3857. As far the cirlce center from the equator the more diff you will get, but ol.circle.Circle doesn't consider this, it just appends radius as an offset.