inocan-group / vue3-google-map

A set of composable components for easy use of Google Maps in your Vue 3 projects.
https://vue3-google-map.com
MIT License
285 stars 56 forks source link

Unable to nest inforwindow inside the CustomMarker to toggle #175

Closed matrixmandeep closed 8 months ago

matrixmandeep commented 11 months ago

1) Unable to nest inforwindow inside the CustomMarker to toggle: Below is my code ` <Marker :options="{ position: marker.position }" :clickable="true" :draggable="true" @click="openMarker(true)" @closeclick="openMarker(false)"> <div style="text-align: center" @click="setInfoWindow(marker, index)">

    </div>
    <InfoWindow v-model="showInfoWindow" :options="{ position: center }" :opened="showInfoWindow"
      @closeclick="showInfoWindow = false">
      <div v-html="infoWindow.content"></div>
    </InfoWindow>
  </Marker>`

  2) also I want the infowindow to stay open on first time I used the v-model but it fails.
DominikGanic commented 11 months ago

Same for me. I can use <Marker> with <InfoWindow> nested which works fine and toggles the InfoWindow. But when I try to use <CustomMarker> with <InforWindow> as child, it doesn't work.

Please let us know any way how to handle this. Thanks!

Eacolt commented 11 months ago

如何解决这个问题 ?

HusamElbashir commented 11 months ago

This is not supported unfortunately

Uhliber commented 10 months ago

I am having the same requirement. Is it still unsupported? Is there a workaround to make it work?

marcosicp commented 8 months ago

same here, any updates?