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

Expose open and close methods on InfoWindow #125

Closed Tofandel closed 1 year ago

Tofandel commented 1 year ago

It's currently quite hard to open or close an infowindow as it requires the map from the <GoogleMap> and a ref on the <Marker> and another ref on the <InfoWindow>

But the infowindow already has all those info available and just needs to expose them

netlify[bot] commented 1 year ago

Deploy request for vue3-google-map pending review.

Visit the deploys page to approve it

Name Link
Latest commit 79573ff2ad292b341e75419d53487243cb9c3b59
HusamElbashir commented 1 year ago

LGTM

Tofandel commented 1 year ago

We could even push it further and add a vModel for the open close state

andrewmile commented 1 year ago

@HusamIbrahim Thank you for merging this. Any plans on when it will be tagged as a release?

hasthik commented 1 year ago

How do i open and close infoWindow now?

HusamElbashir commented 1 year ago

Released in v0.16.0

ClineResearch commented 7 months ago

We could even push it further and add a vModel for the open close state

Hello! This method by adding vModel for open close state (as documented) doesn't work with v0.17.1 release. An idea to fix it? Thanks. JF