Every time I click on a marker, an InfoWindow is added.
If I define a InforWindow in a subcomponent of GoogleMap and obtain it through the ref of vue3, the Elements obtained at this time are only open() and close(), but there is no native setPosition() method. I cannot implement the only InforWindow component.
So i hope that only one InfoWindow will be displayed at a time when multiple markers are bound to InfoWindow. Keep only the last one
Every time I click on a marker, an InfoWindow is added. If I define a InforWindow in a subcomponent of GoogleMap and obtain it through the ref of vue3, the Elements obtained at this time are only open() and close(), but there is no native setPosition() method. I cannot implement the only InforWindow component.
So i hope that only one InfoWindow will be displayed at a time when multiple markers are bound to InfoWindow. Keep only the last one