Template Applications

Template Applications

//模板应用程序

When you create a new project in Visual Studio .NET, you presented with a set of templates that you can use as a starting point to creating an application. In the New Project dialog box, you抣l notice that there抯 a folder that contains ArcGIS Server Projects as well. Within this folder you抣l find the Web Mapping Application template distributed(分发,发送) with the Web ADF.

当你在vs.NET中创建一个新工程的时候,你可以使用一系列的模板来创建应用程序。在新工程的创建对话框里面,你可以看到一个包含有ArcGIS Server 工程的文件夹。在这个文件夹内部,你可以找到网络地图应用程序模板,随着他的是Web ADF.

The primary advantage of building your Web application with a template is that much of the commonly used functionality is already included, so you don抰 have to program it yourself.  As with any template, the look of it simply serves as a starting point for your Web application. You can easily customize the layout of the controls on the template and change elements, such as fonts and colors, to suit your needs. If you plan on integrating(合并)the application you create into an existing Web site, you might add other components, such as company logos and site navigation tools, so that it looks like your existing Web pages and integrates seamlessly into your Web site.  Most likely, you抣l want to extend the functionality provided in a template and incorporate your own custom operations. A description of the Web Mapping Application template is provided below.

使用模板创建应用程序最大的优势是一些常用的地图功能已经包含创建并包含在里面了,因此你就不必亲自去编程来实现这些功能了。对于任何的模板,她的外观仅仅是作为你的应用程序的一个起点。你可以很容易的在模板上实现页面布局的定制或者改变它的元素,比如:字体,颜色等等去适合你的需要。如果你计划将你创建的应用程序添加到一个已经存在的网络应用程序,你就可以添加其他的组件,比如:公司logo或者站点导航工具,因此这看起来就像一个已经存在的站点和一个合并的组件添加到你web站点中。在大多数的情况下,你可能会扩展模板中组建提供的功能或者将这些组件和你自定义的操作结合。下面提供了一个关于网络地图应用个程序模板的描述。

Web Mapping Application template

The Web Mapping Application template provides basic map display capabilities. It consists of a main map, a table of contents (legend), a toolbar and an identify window (to display the results of the identify tool).   For any map-centric application, the Web Mapping Application  template offers a good starting point.  A walkthrough illustrating how to get started with the Web ADF using the Web Mapping Application template is provided in the tutorial(个别 ) topic  Creating a Web application with a template.   A comprehensive discussion of Web Mapping Application capabilities, customization options and additional walkthroughs are provided in the section Working with the Web Mapping Application.

网络地图应用程序模板提供了基本的地图展示功能。她包括了一个主地图,一个内容的表格,一个工具条和一个查询窗口(用来显示查询工具查询的结果),对于所有以地图为中心的应用程序,网络地图应用程序模板提供了一个很好的起点。一个关于如何利用网络地图应用程序模板的作为Web ADF入门的演练说明在下面的话题中提供:Creating a Web application with a template. 一个关于网络地图应用程序功能、自定义选项和一些增加的演练的综合话题请看下面的链接:

Working with the Web Mapping Application.

原文地址:https://www.cnblogs.com/xingchen/p/1779368.html