Search This Blog

Tuesday, August 2, 2011

google map api integration in asp.net using javascript


To generate the google map API key use below link:

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

After generating the key replace the word "Your_Key" with generated key.

Below images are pointing to simple example on "google map api  integration in asp.net using javascript".












 protected void Page_Load(object sender, EventArgs e)
    {
        hdnLat.Value = "100";
        hdnLng.Value = "100";
    }
    protected void btnSubmit_Click(object sender, EventArgs e)
    {      
        Response.Write("Latitude: " + hdnLat.Value + " Longitude: " + hdnLng.Value);
    }

No comments:

Popular Posts