zouyaoji / vue-cesium

🎉 Vue 3.x components for CesiumJS.
https://zouyaoji.top/vue-cesium
MIT License
1.47k stars 317 forks source link

[Bug Report] vc-measure-area component impro[per working #367

Closed sachinsbgithub closed 1 year ago

sachinsbgithub commented 1 year ago

VueCesium version

2.4.2

OS/Browsers version

108.0.5359.221 google chome

Vue version

2.7.14

Cesium version

1.103.0

Reproduction Link

https://codepen.io/pen/

Steps to reproduce

<vc-measure-area v-model="area" ref="measureArea" @activeEvt="activeEvt" @measureEvt="measureEvt" :clamp-to-ground="clampToGround" :remove-last-position="removeLastPosition">

What is Expected?

I want to measure area, height, and draw polygon point and polyline and am using vue2 and vueCesium 2 because it is live project and build on vue 2 and vuetify 2

What is actually happening?

Isome times vc-measure-area com[ponent is crashing and not able measure area and showing 0sqm. and all viewer components picking wrong positions

sachinsbgithub commented 1 year ago

![Uploading Screenshot 2023-03-14 104437.jpeg…]()

zouyaoji commented 1 year ago

https://zouyaoji.top/vue-cesium-v2/#/zh/tool/vc-measuring cannot reproduce the issue you mentioned. And the VueCesium version of vue2 has stopped maintenance, it is recommended that you upgrade the version of vue3.