map not loading

SupportCategory: TA Plutonmap not loading
Volker asked 2 years ago

Hi,
it seems there is a general issue with the Google Maps – library you are using: the background-map in the contact-section is not loading, not even on your demo-site. As far as i can see the function initializeMap() from app.js is never called.
Thanks for your help!
 
Volker

6 Answers
Volker answered 2 years ago

Edit: i temporarily solved this by simply adding onLoad=’initializeMap();’ to the body-tag but i that is not very elegant, i am sure you have a more professional solution…
 
Thanks, Volker

Jan Staff answered 2 years ago

Hey Volker,
i also have the same problem, the Google map is not loading.
Would you be so kind to explain where exactly you insert the Text  onLoad=’initializeMap(); ?
Into which file, which line?
Thanx a lot!
Jan

worldwidehighend answered 2 years ago

Hello,
i also need a fix for this problem, please help.
Thanx
Bill

Volker answered 2 years ago

Would you be so kind to explain where exactly you insert the Text  onLoad=’initializeMap(); ?
Into which file, which line?

the file is header.php and it should be line 24. just replace

<body <?php body_class(); ?>>

with

<body <?php body_class(); ?> onLoad="initializeMap();">

 
Cheers, Volker

Jan Staff answered 2 years ago

Hello Volker,
many thanx for your quick response and help!
so long,
Jan

Rohit Staff answered 2 years ago

Hi Volker, thanks for sharing your solution!