Reputation: 3
I am developing an html/javascript application and want to build a single file containing both HTML and javascript code.
Is there a way to include google-map api in the same file without using a script tag ?
Thanks,
Benoit
Upvotes: 0
Views: 1460
Reputation: 8819
There's also a Google Static Maps API that simply creates imagery. It's non-interactive but works without JavaScript: https://developers.google.com/maps/documentation/staticmaps/
Upvotes: 0
Reputation: 14411
Yes - it's called loading asynchronously: https://developers.google.com/maps/documentation/javascript/tutorial#asynch
Upvotes: 1