Java Script - Google Maps issue

Issues related to previewing and publishing your web site.
Post Reply
sidem
 
 
Posts: 25
Joined: Thu Feb 11, 2016 12:15 am

Java Script - Google Maps issue

Post by sidem » Mon Jul 09, 2018 2:59 pm

WWB14 does not show google maps (ready to use JavaScript object) neither during preview nor after publishing. I am using external JS option with minify formatting.
Same file/page with map opened on previous WWB with the same HTML options works fine.
Last edited by sidem on Mon Jul 09, 2018 3:48 pm, edited 1 time in total.

User avatar
BaconFries
 
 
Posts: 4145
Joined: Thu Aug 16, 2007 7:32 pm

Re: Java Script - Google Maps issue

Post by BaconFries » Mon Jul 09, 2018 3:21 pm

I am using external JS option with minify formatting.
Not all scripts can be minified and require to be embedded in the page to work. Please uncheck/untick the option and try again. Note you will need to publish it to your host for it to work.

User avatar
Pablo
 
Posts: 14059
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Java Script - Google Maps issue

Post by Pablo » Mon Jul 09, 2018 3:40 pm

Google Maps does not support minify/external JS, because the script needs to be on the same page as the container..

sidem
 
 
Posts: 25
Joined: Thu Feb 11, 2016 12:15 am

Re: Java Script - Google Maps issue

Post by sidem » Mon Jul 09, 2018 3:51 pm

HTML options have been imported with the file edited on WWB12 - they are exactly the same since WWB11 for my page when HTML options were introduced - always worked till now.

Even now - when I open that page with map on WWB12 with external JS and minify formatting - it works.

User avatar
Pablo
 
Posts: 14059
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Java Script - Google Maps issue

Post by Pablo » Mon Jul 09, 2018 4:43 pm

Maye there is a conflict with another script?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests