Closed Tuhtarov closed 4 months ago
@Tuhtarov thank you again. I found a logical issue here, and now it's working as expected. I'm closing the issues considering it solved, feel free to re-open it if needed or open a new one.
And thank you again :)
@diegoazh, hello again! I tested it and found that the bug remained :(
Hi @Tuhtarov I checked and it works as expected, you can check it in this stackblitz example.
v-if
and the info window is closed.Please check the implementation on the HellowWorld
component, I think your issue can be related to your implementation, let me know if you found something weird or new.
Hi @diegoazh, I appreciate your work and look forward to your response. I made an example based on a project on stackblitz where you can clearly see that InfoWindow components are not deleted after they are removed from the data source. After clicking on the text in InfoWindow, check the log in the console. In theory, the marker and window should be deleted on the map together, but only the marker is deleted.
Describe the bug
GvmInfoWindow components are not deleted (not closed) in a vue template when the object responsible for rendering this component is deleted in a reactive variable.
To reproduce
For example, we have a display of 3 markers and 3 windows above them. After deleting any element from the storage, the marker and the window must be deleted from map. Currently, only the marker is deleted. But the window remains on the map.
Demo code roughly describing my component for displaying some data on a map:
Expected behavior
The marker and window should be removed from the map if the element responsible for drawing the marker and window was deleted in the data source.
Current behavior
Only the marker is removed, the window remains.
Additional context
Using this crutch code, you can close these windows on the map
Screenshots
Desktop
Versions
Package manager
Plugin version