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
-
Difference between C# var and Javascript var C# var i = 10; // implicitly typed int i = 10; //explicitly typed //Initialization is man...
-
Confirmation box from code behind c# using modalpopup ajax control <% @ Page Language ="C#" AutoEventWireup ="true...
-
Use below javascript function to 1) validate the date difference in asp.net 2) difference (number of days, months, years) between two dat...
-
function validate() { var oInput1 = document.getElementById("datepicker_Control"); if (isValidDate(oInput1)) { //proceed cod...
-
Use below code to raise messages from javascript and code behind. .ASPX <%@ Page Language="C#" AutoEventWireup="true...

No comments:
Post a Comment