⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ajax.aspx.cs

📁 GIS WEB系统
💻 CS
字号:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Ajax : System.Web.UI.Page
{
	protected void Page_Load(object sender, EventArgs e)
	{
		ajaxMap.Map = MapHelper.InitializeMap(new System.Drawing.Size(10, 10));
		if (!Page.IsPostBack && !Page.IsCallback)
		{
			//Set up the map. We use the method in the App_Code folder for initializing the map
			ajaxMap.Map.Center = new SharpMap.Geometries.Point(0, 20);
			ajaxMap.FadeSpeed = 10;
			ajaxMap.ZoomSpeed = 10;
			ajaxMap.Map.Zoom = 360;

		}
		ajaxMap.ResponseFormat = "maphandler.ashx?MAP=SimpleWorld&Width=[WIDTH]&Height=[HEIGHT]&Zoom=[ZOOM]&X=[X]&Y=[Y]";
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -