On Dec 16, 8:46 pm, Indra Bisen <[email protected]> wrote: > Hi Everybody, > > I've used Google Map in my ASP.NET application. For this I've taken an > ASP.NET Panel Control and write down the google map HTML code inside > the panel like this - > > <asp:Panel ID="Panel1" runat="server" Width ="640px" Height > ="480px" HorizontalAlign="Left" > > <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas- > microsoft-com:vml"> > <head> > <meta http-equiv="content-type" content="text/html; charset=UTF-8"/ > > <title>Google Maps</title> > <script src="http://maps.google.com/maps? > file=api&v=2&key=ABQIAAAAVMfPXS-Fpje9GXlMwW5y- > xR3wyutOg5v0606F1Wud6reh-88yRR1G1s4jlWh9_mI06VK9_Fi6qRosg" type="text/ > javascript"></script> > </head> > <body onunload="GUnload()"> > ----- > ----- Rest of the code > ---- > ---- > </script> > </body> > </html> > </asp:Panel> > > It works fine with IE 6 but the above code not displayed the Google > Maps in IE 7 / FF or in Chrome. Only Scrollbar, Terms of use link and > canvas of Google Map is displayed. The link of the page is given > below- > > http://www.mpforest.org/Intranet/survey/frmFullDetails.aspx?ForID=170... > > If somebody has any idea/tips plz share it. > Invalid HTML confuses some browsers: http://validator.w3.org/check?uri=http://www.mpforest.org/Intranet/survey/frmFullDetails.aspx%3FForID%3D170603501&charset=(detect+automatically)&doctype=Inline&group=0 (you have multiple <body> tags)
You need to make sure the map size is defined. <div id="map" style ="width:auto; height:auto" ></div> -- Larry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
