Solution for the QlikView, Biztalk, DotNet and MSBI real time development problems
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);
}
Labels:
ASP.NET
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Applies To ASP.NET version 1.1 ASP.NET version 2.0 Summary This How To shows how you can help protect your ASP.NET applications from cr...
-
Use below javascript function to 1) validate the date difference in asp.net 2) difference (number of days, months, years) between two dat...
-
Confirmation box from code behind c# using modalpopup ajax control <% @ Page Language ="C#" AutoEventWireup ="true...
-
Difference between C# var and Javascript var C# var i = 10; // implicitly typed int i = 10; //explicitly typed //Initialization is man...
-
function EmailValidate() { var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/; var address =...

No comments:
Post a Comment