Google Map in ASP.NET

Anup1252000
Posted by in ASP.NET category on for Advance level | Views : 42447 red flag
Rating: 5 out of 5  
 1 vote(s)

In this article we are going to see how to implement Google Map in your ASP.NET application.


 Download source code for Google Map in ASP.NET

Introduction
In this article, We are going to Implement Google Map using Asp.net Custom control. It Offers extremely easy and fast way of adding Google Maps API support on your ASP.NET pages.      

Lets go through this application step by step


Step 1:
    
      Create a new website >select the programming language as c#> Name the project as GoogleMap

Step 2:

      Now lets go to this site and download the DLL from the Recommended download

      http://googlemap.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=26521

Step 3:

       Now i think that you people have download that ddl.. Now right click on to the website and add reference to arthem.GoogleMap.

Step 4:

       Now add this in the Web.config under Pages tag and under Controls.



Step 5:

      Now go to this site and give your URL in click on Generate API Key.
     
       http://code.google.com/apis/maps/signup.html

      Copy this Key and paste in some document..

Step 6:

       Now add this lines of lines of code in .aspx page

     
     
      We are using Google Marker to indicate your location. Zoom can be set until 9.


Step 7:

        Now Lets run this application.. Output will be displayed like this




I hope you people like this article.
Page copy protected against web site content infringement by Copyscape

About the Author

Anup1252000
Full Name: anup hosur
Member Level:
Member Status: Member
Member Since: 8/1/2009 2:37:23 AM
Country: India
https://wordpress.com/pages/anuphosur.wordpress.com
https://wordpress.com/pages/anuphosur.wordpress.com
He is the .net developer with around 8 years of experience in technologies like c#, WCF, WPF and Asp.net. https://wordpress.com/pages/anuphosur.wordpress.com

Login to vote for this post.

Comments or Responses

Posted by: Pramodmca09 on: 10/8/2009
Hi thanx for article ....
i tried googlemap
but i'm getting error like....


Error 1 Could not load file or assembly 'Arthem.GoogleMap' or one of its dependencies. The system cannot find the file specified.


please help me
Posted by: Anup1252000 on: 10/9/2009
Hi Pramod,

Check whether you added reference in your application.. it is not Arthem.GoogleMap it is Artem.GoogleMap.. yyou just replace that in web.config.. it will work 100%

Login to post response

Comment using Facebook(Author doesn't get notification)