DMXzone Google Maps Support Product Page

Answered

Getting a script error in IE8

Asked 12 Jun 2012 20:41:49
1
has this question
12 Jun 2012 20:41:49 Andrew Wiggins posted:
Getting a script error in IE8. IE9, FireFox, Safari and Chrome the map renders correctly:
SCRIPT5007: Unable to get value of the property 'latitude': object is null or undefined
jquery.gmap.min.js, line 125 character 55

URL: www.raymondbrownmineralsandrecycling.co.uk/mods/map-demo.asp

This may be a similar error here?

stackoverflow.com/questions/10430460/ie7-8-javascript-script5007-unable-to-get-value-of-the-property

TIA Andrew

Replies

Replied 13 Jun 2012 06:48:19
13 Jun 2012 06:48:19 Vulcho Vulev replied:
Hello Andrew.

Can you please edit the following lines of html code:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="X-UA-Compatible" content="IE=8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 


Should become:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 


Regards: Vulcho.
Replied 13 Jun 2012 07:39:35
13 Jun 2012 07:39:35 Andrew Wiggins replied:
Hi
Edited page as requested:

www.raymondbrownmineralsandrecycling.co.uk/mods/map-demo.asp

The error persists in IE8:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Timestamp: Wed, 13 Jun 2012 07:38:17 UTC


Message: 'latitude' is null or not an object
Line: 125
Char: 55
Code: 0
URI: www.raymondbrownmineralsandrecycling.co.uk/ScriptLibrary/jquery.gmap.min.js

Replied 13 Jun 2012 14:13:40
13 Jun 2012 14:13:40 Teodor Kuduschiev replied:
Hello Andrew,

Please download the latest version of dmxzone google maps and reapply it on your page.

Reply to this topic