You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You might have some kind of race condition where meteor tries to render the field before the API has loaded. If you're using the dburles:google-maps package you can use the reactive method GoogleMaps.loaded() in a helper to only render the form field if it returns true.
I set up a global helper that uses the GoogleMaps.loaded(), then I do a trigger on enter with FlowRouter. I wrap the google input in a #if dependent on the googlemapsisready helper that comes with dburles package.
Looks like it is on this line -
this.autocompleteservice =new google.maps.places.AutocompleteService();
I'm not sure if I'm just not loading google places properly (have it in my head tag of the navbar), or if I'm doing something else wrong.
Thanks a lot!!
The text was updated successfully, but these errors were encountered: