xkjyeah / vue-google-maps

Google maps component for vue with 2-way data binding
https://xkjyeah.github.io/vue-google-maps/
1.88k stars 475 forks source link

V-Model Rectangle Bounds #620

Open keithgulbro opened 5 years ago

keithgulbro commented 5 years ago

Hi there,

I've been looking for a way to accomplish v-model of rectangle bounds however unlike other components, I can set the initial bounds of a given Google Maps Rectangle component via north, south, east & west however it's not possible to model these properties inside an input in order to ultimately accomplish two-way binding of the north, south, east & west properties of the Google Maps Rectangle.

Below is what is returned when adjusting the bounds of a Google Map Rectangle component:

Screen Shot 2019-06-20 at 11 05 39 PM

Any advice of examples on how to accomplish this would be greatly appreciated.