Open spectra10008 opened 4 years ago
Solution:
Use new google.maps.places.AutocompleteService();
instead of google.maps.places.AutocompleteService()
;
Make sure you have added the places library to the initialisation code:
Vue.use(VueGoogleMaps, {
load: {
key: <key>,
libraries: 'places,visualization,drawing',
}
});
im trying to use auto-complete feature but giving me an error :-
google.maps.places is undefined
I searched for the error and it turned out that it needs google place library, but I can't enable it and get it because of the conflict because there are two calls to it