Closed Tuhtarov closed 6 months ago
I’ll also add that the geoposition of GvmMarker on the map does not change when the data in the reactive variable responsible for the geoposition of the marker in my vue component changes. Initially, the marker appears on the map at the coordinates specified in the variable, but does not change when the variable data is changed.
Hello @Tuhtarov, first of all, thank you for reporting this issue. I fixed the issues in the new version that was landed a few minutes ago. Please test it and let me know if something else happens. I'm going to close this issue considering it solved but, feel free to re-open it if you consider that necessary.
Hi @diegoazh. It worked after adding the polygon-key attribute. Thank you very much for the prompt work and for the cool library! :)
Describe the bug
The path_changed event does not work on the GvmPolygon component after changing the coordinates of any point or after adding a new point. At the same time, the polygon itself on the map changes.
To reproduce
To verify this, just repeat the code of this autotest and add console.log to the beginning of the updateEdited function: https://github.com/diegoazh/gmap-vue/blob/master/packages/v3/cypress/runner/components/PolygonTest.vue
Expected behavior
The array of polygon coordinates in the reactive variable should change.
Screenshots
The polygon itself has changed, but the data in the reactive variable has not changed
Desktop
Versions
Package manager
Plugin version