We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to use the autocompleteOptions as described in the Google Maps API, particularly "bounds" and "strictBounds" https://developers.google.com/maps/documentation/javascript/reference#AutocompleteOptions
passing, autocomplete-options="[[place.options]]" where, this.place.options = { bounds: this.map.getBounds(), strictbounds: true }
But it's not working for me
Any hint or suggestion? Thanks
The text was updated successfully, but these errors were encountered:
In the mean time, in case somebody has the same requirements I managed to get the same results in a less "polymeric way" as follow:
var autocomplete = document.querySelector("paper-input-location").autocomplete; autocomplete.setOptions({strictBounds: true}); autocomplete.bindTo('bounds', this.map);
Sorry, something went wrong.
The autocompleteOptions property is not used, only defined :(
No branches or pull requests
I am trying to use the autocompleteOptions as described in the Google Maps API, particularly "bounds" and "strictBounds"
https://developers.google.com/maps/documentation/javascript/reference#AutocompleteOptions
passing,
autocomplete-options="[[place.options]]"
where,
this.place.options = { bounds: this.map.getBounds(), strictbounds: true }
But it's not working for me
Any hint or suggestion?
Thanks
The text was updated successfully, but these errors were encountered: