共有 0 个贴子
没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > Google Maps for ASP.NET |
Google Maps for ASP.NET
|
2 | 0 | 7 |
贡献者 | 讨论 | 代码提交 |
Interact with Google Maps through C# or VB.NET. Built on Gaia Ajax, for full Ajax capabilities.
//asp.net markup
g:GMap
runat="server"
ID="GMap1"
CssClass="googleMaps"
Height="350px"
Width="450px"
OnMapTypeChanged="GMap1_MapTypeChanged"
OnClick="GMap1_Click"
OnZoom="GMap1_Zoom"
OnMoveEnd="GMap1_MoveEnd"
OnMoveStart="GMap1_MoveStart"
//example of zoom event
protected void GMap1_Zoom(object sender, GMap.ZoomEventArgs e)
{
msg.text = string.Format("Zoom event fired. Old level: {0} New level: {1} ", e.OldZoomLevel, e.NewZoomLevel);
}