vlafranca / ngxAutocomPlace

Google Places Api Autocomplete Angular Directive
7 stars 4 forks source link

Loading the Google Maps JavaScript API without a callback is not supported #48

Open dileepbalineni opened 1 year ago

dileepbalineni commented 1 year ago

In angular NgxAutocomplace not supported the call back is not supported

ncarthy commented 10 months ago

From https://stackoverflow.com/q/75179573/6941165 :

Try replacing <script src="https://maps.googleapis.com/maps/api/js?key=<YourApiKey>&libraries=places&language=en"></script> with <script src="https://maps.googleapis.com/maps/api/js?key=<YourApiKey>&libraries=places&language=en&callback=Function.prototype"></script>