MadimetjaShika / vuetify-google-autocomplete

A Vuetify ready Vue.js autosuggest component for the Google Places API.

Home Page:https://madimetjashika.github.io/vuetify-google-autocomplete/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to add custom options in setupGoogle method

butaminas opened this issue · comments

I would like to add custom options e.g. bounds and strictBoundsto the autocomplete options.

As far as I can see, you can only set up location, fieldsand type.
Any way I can add custom options without changing the core?

Any news about this?

I need to set a bounds restrict for fetching only results of a determined city.

For example:

:options="{
     location: { lat: -23.616075, lng: -46.628095 },
     radius: 5000,
     strictBounds: true
 }"