发布第一个ArcGISserver的程序

首先要安装arcgisserver 的adf for .net,然后在visual studio 中新建一个web 项目,新建的web项目的类型选择Web Mapping Application。看一下右边窗口栏中新建的这个项目中的所有的文件,找到readme.txt,按照其中的说明,一步步配置,然后右键浏览default.aspx,就可以看到这个web项目了。

附:readme.txt

 
1. Open Default.aspx in Design mode.

2. Right-click the MapResourceManager control and click Edit Resources.

3. Click the Add button to add a MapResourceItem to the collection.
 
4. Click the Definition property and click the ellipsis (...) button.

5. From the Type dropdown list, choose the type of resource that you want to add.

6. Use the ellipses (...) buttons next to the Data Source, Identity, and Resource boxes to display dialogs that will help you specify the information necessary to display the resource.

Note: If you are adding an ArcGIS Local resource, you set the identity by right-clicking the Web site name in the Solution Explorer and clicking Add ArcGIS Identity. The account you specify must have Write access to your Temporary ASP.NET Files directory.

7. If your map will contain more than one resource, repeat steps 3-6. You may need to adjust transparency levels using the MapResourceItems' DisplaySettings properties.

8. When you are finished adding resources and configuring their display settings, click OK to exit the MapResourceItem Collection Editor.

9. Click the OverviewMap control. In the Properties grid, set the OverviewMapResource property to the resource you want to appear in the overview map.

10. Run the application.

For further details about each part of the Web Mapping Application, see the section developing Web applications using the Web ADF?in the ArcGIS Server Developer Help.

-------------------------------------------------------

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值