user1271746
user1271746

Reputation: 3

Include google api version in a javascript file


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

Answers (3)

Mano Marks
Mano Marks

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

Chad Killingsworth
Chad Killingsworth

Reputation: 14411

Yes - it's called loading asynchronously: https://developers.google.com/maps/documentation/javascript/tutorial#asynch

Upvotes: 1

suresh gopal
suresh gopal

Reputation: 3156

We need to add script tag to access google map.

Upvotes: 0

Related Questions