Developer forum

Forum » Templates » Maps module in IE8 dw version 8.4 not working - any ideas?

Maps module in IE8 dw version 8.4 not working - any ideas?

Peter Klünder
Reply

Hi 

I have tried getting the maps module to work in IE8, it was working apparently in dw version 8.2.3.17 but in later versions it stopped working.

Haven't changed anything in the templates, I have no idea, and support says the only way to get it to work is to set the solution back to 8.2.3.17 thats just not the right way.

Any ideas on how to fix this is much appreciated.

I have attached a screendump showing the error in IE8 on a XP machine

Heres hoping for a solution :o)

Regards

Peter

mapserror.JPG

Replies

 
Peter Klünder
Reply

No one with any ideas ?

/Peter

 
Mikkel Ricky
Reply

I'd like to see the generated page source for both the working version (8.2.3.17) and the non-working one.

Best regards,
Mikkel

 
Peter Klünder
Reply

Hi Mikkel

I'm not able to downgrade it, but i've attached the page source, this page is working in chrome, IE 11, firefox and so on but when the customer runs it on windows xp ie 8 It gives the former attached error and never draws the map online lists all addresses.

I have windows xp and IE8 on a VM image where I screendumped the error.

Best regard

Peter

 
Mikkel Ricky
Reply
This post has been marked as an answer

You have to upgrade your Maps.js script. Either to a patched version of your current script [https://dl.dropboxusercontent.com/u/77245248/dynamicweb/maps/Maps.patched.js] or the latest version [https://dl.dropboxusercontent.com/u/77245248/dynamicweb/maps/Maps.js]. I recommend that you use the latest version.

Best regards,
Mikkel

Votes for this answer: 1
 
Mikkel Ricky
Reply

Oh, and by the way, you're including the Google Maps API twice on your page. Remove the line

<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>

from your page template. The Maps module takes care of including the Google Maps API.

 

 
Peter Klünder
Reply

Hi Mikkel

Free translation YOU are todays man in skysauce :o)

The latest version of the maps.js solved the problem

much appreciated

Best regards

Peter

 
Martin Gammelholm
Reply

Hi Mikkel!

We've got a customer with the same issue here in IE8.

Adding the new maps.js got the maps showing, but the search functionality still won't work:
http://www.scanpan.dk/da-DK/Forhandlere.aspx

Any ideas?

 

Best regards,
Martin

 
Mikkel Ricky
Reply

It's a good idea to use a modern browser: http://browsehappy.com/ 

 
Mikkel Ricky
Reply

IE8 reports a JavaScript error on http://www.scanpan.dk/da-DK/Forhandlere.aspx. Try setting the height of the element containing the actual map:

<div class="map" style="width: <!--@MapWidth-->; height: <!--@MapHeight-->;">
  <div id="<!--@MapElementID-->"></div>
</div>

Best regards,
Mikkel

 

 
Martin Gammelholm
Reply

It's a very good idea indeed. Tell that to our end-users ;)

Thanks for the tip about height, that did the trick.

 

Best regards,
Martin

 

You must be logged in to post in the forum