VB.NET
I am using googlemaps.subgurim.net in my application,it is possible to set different GOOGLE API KEY to different users based on their logins.Code
web.config: add key="googlemaps.subgurim.net" value="xxxxxxxxx"/>Code
.aspx: cc1:GMap ID="GMap1" runat="server" Height="805px" Width="800px" />Code
.aspx.cs: string sMapKey = ConfigurationManager.AppSettings["googlemaps.subgurim.net"];Code
GeoCode objAddress = new GeoCode();Code
objAddress=Map.geoCodeRequest(newGLatLng(Convert.ToDouble(status.Rows[0][0]),Convert.ToDouble(status.Rows[0][1])), sMapKey);Code
StringBuilder sb = new StringBuilder();Code
if (objAddress.valid) {Code
sb.Append(objAddress.Placemark.address.ToString());Code
lbladd.Text = sb.ToString(); }
Answers
Know the answer? Post it. Somebody with the same question will find it here.