Attempting to get auto complete working for my google maps application.
Here is the current code:
HTML
Thanks Matt for the answer! Somehow it seems to be important not to omit type="text/javascript"
attribute on tag when using
libraries=places
.
Doesn't work:
Works:
Callback variant also works (with initMap function defined):
This seems to be consistent with another SO answer and inconsistent with the official documentation (unless providing the key
in the url makes the difference).