I have made several attempts at getting it to work. I have also read and followed the Get Started Video closely.
Here is my last attempt.
I stared a .Net 4.0 framework Empty website.
I then addeda .Net folder and choose Bin
I then added the two files for the control -- Artem.Google.dll and Artem.Google.pdb into the Bin folder.
I also added a default.aspx to my website. (At this point I have Bin folder, default.aspx and web.config).
I Register the artem control at the top of default.aspx. I also added the artem.Google control to my Div on my page.
when I first ran the program it said that i needed to add a ScriptManager ahead of my artem.Google map control. I went to Toolkit and double clicked the ScriptManager to add it to the Div. I made sure it was ahead of the artem.Google control.
Now when I run it I get the same error that I have be getting all day.
Microsoft JScript runtime error: 'console is undefined"
If you hover over the highlighed word console it says that it is in artem->Google->log
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0"/>
</system.web>
</configuration>
jfeeney
Member
163 Points
551 Posts
Can't get Google Map Control to work
Dec 06, 2011 10:29 PM|LINK
I went to http://googlemap.codeplex.com/ and downloaded the controls for Google Map
I have made several attempts at getting it to work. I have also read and followed the Get Started Video closely.
Here is my last attempt.
I stared a .Net 4.0 framework Empty website.
I then addeda .Net folder and choose Bin
I then added the two files for the control -- Artem.Google.dll and Artem.Google.pdb into the Bin folder.
I also added a default.aspx to my website. (At this point I have Bin folder, default.aspx and web.config).
I Register the artem control at the top of default.aspx. I also added the artem.Google control to my Div on my page.
when I first ran the program it said that i needed to add a ScriptManager ahead of my artem.Google map control. I went to Toolkit and double clicked the ScriptManager to add it to the Div. I made sure it was ahead of the artem.Google control.
Now when I run it I get the same error that I have be getting all day.
Microsoft JScript runtime error: 'console is undefined"
If you hover over the highlighed word console it says that it is in artem->Google->log
does anyone see what I might be doing wrong here?
Thanks, John
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register assembly="Artem.Google" namespace="Artem.Google.UI" tagprefix="artem" %> <!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 runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <artem:GoogleMap ID="GoogleMap1" runat="server"></artem:GoogleMap> </div> </form> </body> </html><?xml version="1.0"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <system.web> <compilation debug="true" targetFramework="4.0"/> </system.web> </configuration>jfeeney
Member
163 Points
551 Posts
Re: Can't get Google Map Control to work
Dec 06, 2011 11:18 PM|LINK
I got it to work...I had to add a longitude and latidute setting to get it to work.....This is different then the codeplex page!!!
Any thoughts????
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register assembly="Artem.Google" namespace="Artem.Google.UI" tagprefix="artem" %> <!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 runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <artem:GoogleMap ID="GoogleMap1" runat="server" Latitude="42.1229" Longitude="24.7879"> </artem:GoogleMap> </div> </form> </body> </html>vnisman
Member
10 Points
5 Posts
Re: Can't get Google Map Control to work
Apr 26, 2012 07:04 PM|LINK
Thank you very much for your post - saved me a lot of time and frustration trying to get this control to work!!
This should have been at the top of the user's guide and quick start setup documentation in my opinion.
nirman.doshi
Participant
1520 Points
775 Posts
Re: Can't get Google Map Control to work
May 02, 2012 12:46 PM|LINK
I did the same thing as you have said.
but the problem is that it works fine in Firefox and other browsers... but not in IE
did you face any such issue? If so, how did you get rid of it?
Software Developer
Vadodara, India