locked
Google Map in ASP.NET RRS feed

  • Question

  • User-2045686240 posted

    Hai,

              I need to integerate Google Map in my web site.Can anyone pls tell me the cleatr steps to ingerate.Location for google map is India.

              Thanks in Advance

     

    Wednesday, January 4, 2012 11:40 PM

All replies

  • User-1976337891 posted

    you will get some insight from these

    http://webcodeblog.com/2010/04/22/setting-up-google-maps-for-asp-net-and-sql-server/

    http://code.google.com/apis/ajax/playground/#map_simple_v3

    http://www.mikeborozdin.com/post/Working-with-Google-Maps-API-in-ASPNET.aspx

    Wednesday, January 4, 2012 11:49 PM
  • User582086724 posted

    hi..

    Refer this below link.........

    http://www.dotnetcode.in/2011/12/how-to-integrate-google-map-in-aspnet.html

    Wednesday, January 4, 2012 11:49 PM
  • User1784393945 posted

              I need to integerate Google Map in my web site.Can anyone pls tell me the cleatr steps to ingerate.Location for google map is India. 

    Hi there

    Check this resolved thread

    http://forums.asp.net/t/1736259.aspx/1?Google+Map+artem+control

    http://www.dotnetcode.in/2011/12/how-to-integrate-google-map-in-aspnet.html


    Wednesday, January 4, 2012 11:56 PM
  • User-448512826 posted

    Hi,

    For integrating google maps into your code you need to access the google 
    apis.Click on the following lick. 

    http://code.google.com/apis/maps/index.html 

    Next step signup the google maps api key and give your website address to generate the unique key for that site.Then it will generate one key for the site. If you use this key to another site it won't work. 

    Example : 

    Key is 

    ABQIAAAAmnOQlz4O2XMui-auz2pa9BQCy-* 

    Integrate the following code in your webpages. 

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml"> 
    <head> 
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/> 
    <title>Google Maps JavaScript API Example</title> 
    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAmnOQlz4O2XMui-auz2pa9BQCy-*" 
    type="text/javascript"></script> 
    <script type="text/javascript"> 
    
    //<![CDATA[ 
    
    function load() { 
    if (GBrowserIsCompatible()) { 
    var map = new GMap2(document.getElementById("map")); 
    map.setCenter(new GLatLng(37.4419, -122.1419), 13); 
    } 
    } 
    
    //]]> 
    </script> 
    </head> 
    <body onload="load()" onunload="GUnload()"> 
    <div id="map" style="width: 500px; height: 300px"></div> 
    </body> 
    </html> 
    



    Hope this very useful to you. 

    also....

    http://weblogs.asp.net/scottgu/archive/2006/01/22/436166.aspx

    Thanks..

    Thursday, January 5, 2012 12:49 AM
  • User-1390819402 posted

    Hello !

    1. Search for the location u need to display (as I'm Searching here 'Periya Kovil, Thanjavur,Tamil Nadu').

    2. After Getting the result Click on the Link icon as shown in the picture.

    3. Copy the Link and paste to your HTML page.

    Your map is ready !!!

    Thursday, January 5, 2012 1:11 AM
  • User50001665 posted

    hi,

    You can integrate google map API in simple way.

    1. Open google map site in your browser.

    2. On the Left panel of Site there is a Button of Link. Press this button.

    3. Now you can find here embed code for HTML. Copy this code from here and Paste to your Website page.

    4. You can do this for any searched locations from anywhere in the world :)

    Cheers!!!

    Thursday, January 5, 2012 1:26 AM
  • User1465119408 posted

    If you are after V3 of Google Maps API, then this link may be of help:

    http://stefanzvonar.com/2012/06/30/setting-up-google-maps-for-asp-net-and-sql-server-with-google-maps-api-v3/

    Also, someone above mentioned the webcodeblog.com link which has now moved to (but uses V2 of Google Maps API):

    http://stefanzvonar.com/2010/04/22/setting-up-google-maps-for-asp-net-and-sql-server/

    Hope this helps,

    Stefan

    Sunday, July 15, 2012 8:26 PM