Click here to Skip to main content
15,894,291 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am using Google map api,it works fine in firefox but creates error in IE .It gives error in GMAp2() as undefined .I heve searched for it but solution which will provided is for api key version ,i have change the version also but still the error is encountered.Now i dont know what the solution is so plzzzz help me for this.
Posted

============
Use this script between element of html.
 
Share this answer
 
Comments
nishi2010 14-Jun-10 7:31am    
i have use this tag only but still it gives error in IE but not in Firefox.
<pre lang="C++">&quot;Gmap2 is undefined&quot; and no google maps or alerts via Subgurim control for an asp.net application
(but it will apply to any kind of technology you&#39;re using)

Stepped into this matter a few days ago. At first thought it was a matter of code,
but web app worked fine on trhee different machines (a windows 7 workstation in domain,
a windows 7 workstation out of domain, a windows server 2003 sp2 in domain).
It turned out to be a matter of enanched security ona windows server 2003 R2 sp1.
Solution was:

Start Internet Explorer on windows server.
On the Tools menu, click Internet Options.
Click the Security tab, and then click Trusted Sites.
Click Sites.

In Add this Web site to the zone, type each of the following Web site addresses, and then click Add:
http://maps.gstatic.com
http://maps.google.com
Click Close, and then click OK.

Cimperiali</pre>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900