Unspecified error on Google Maps
Hello,
When the map loads I am getting the following error.
The error is in the original, unmodified OpenLayers.js file on this line:
Return!! (document. namespaces);
I have tried rewriting it to:
Return (typeof (document. namespaces) != 'undefined');
And it worked but then I get same "unspecified" errors on further referrals to document.namespaces:
If (! document.namespaces.olv){document.namespaces.add("olv",this.xmlns); …
I tried rewriting this to:
If (typeof (document. Namespaces. olv) == 'undefined') { …
But I get the same "unspecified error".
This error occurred on Internet Explorer 7, but not in Firefox.
Give me your suggestions on this.
Thank you.