zoukankan      html  css  js  c++  java
  • 2010年9月12日周日_Developing with the Mobile SDK_6.1

    /****************************************************************/

    //Developing mobile applications with the Mobile SDK

    //Developing with the Mobile SDK

    //2010年9月12日

    /****************************************************************/

      As the Mobile SDK continues to grow with new features and funtionality, we will try to help you in your development tasks, by documenting the system in it's logical units. While it is quick and easy to create a basic mobile application, the new functionality and changes are best learned by working though the tasks below. These documents are written from a developer perspective, and rely heavyily on the code itself to illustrate how to use this functionality. A basic level of programming knowledge and skill is required to follow the documentation of this functionality. For a more generic expanatoin of these topics refer to the Understanding the Mobile SDK book.

      Mobile SDK随着要素和功能的增长而持续增长,我们将通过记录系统的逻辑单位来帮助你的开发任务。 尽管可以快速、容易的创建一个基本的移动应用程序,通过下面的任务的演练是学习新功能以及他们的改变最好的方式。这些文档是从一个开发者的角度写的,过多的依赖于代码的自身说明如何使用这个功能。 基本的编码知识以及编码技能对于学习这个功能的文档是需要的。更多这个题目更过的扩展,参考Understanding the Mobile SDK手册

    Working with Mobile Services

      In order to support the new features in this release, and organize the SDk into its logical, inheritant structure the ArcGIS Mobile assembly has been added 3 namespaces. The namespaces are used to group the functionality into logical partitions so that developers can better design and implemant their applications. The new namespaces are; Editing, Geometries, MapActions, MobileServies, and SdcData. There are also a few classes that have changed their properties for example the snapping environment has moved to the Map class.

      为了支持这个版本中的新功能、逻辑组织这个SDK、继承构造函数,ArcGIS Mobile 集合已经添加了三个命名空间,这些命名空被用来添加功能逻辑属性里面,所有,开发者可以更好的设计和实现他们的应用程序。 这些新的命名空间是:editinggeometries,MapActionsMobileServicesSDCData。这里还有一些类已经改变了他们的属性,比如:snapping 环境已经被移动到Map类中

     

    Working with Edit Tools

      The new Editing namespace contains the classes used for editing data and replaces the Sketch namespace, since the changes were so significant the namepsace change is warranted. While many of the classes will look familiar to a 9.2 developer, an AddVertexSketchtool replacing a AddVertex class, the process of editing features has changed. The steps for editing are now.....new paradigm(示例) using the new SketchGraphicLayer applications. For more in depth information on editing you should read the Editing document . The library overview has more technical information on how to use the classes in the Editing namespace.

    使用编辑工具:

        新的Editing命名空间不但包含用于编辑数据类,并且取代了Sketch命名空间,因为这些改变是如此重大,所有命名空间的改变就是很正当的。 对于9.2版本的开发者来说,9.3里面的很多的类看起来都是很熟悉的,但是,AddVertexSketchtool取代了AddVertext,所以feature的编辑过程已经改变。对于现在用于编辑的步骤….新的示例使用新的SketchGraphicLayer 应用。 更多关于编辑的深入话题你应该阅读Editing文档。库的概述有很多关于如何在Editing 命名空间中使用类的技术信息。

    Working with Geometries

      The new Geometries namespace contains the classes used to represent features stored in the data layers. Most of the classes in this namespace existed in the previous release, although they have been updated. The changes made to the geometry classes that represent feature such as point and polygon allow for more generic(种类的) construction methods to make working with the various geommetry types easier. The geometry feature classes have been given the ability to raise an event to signal changes, though the GeometryChanged event. The new classes for this release that are in this namespace, are the CoordinatesChangedEventArgs, GeometryChangedEventArgs, and SpatialIndex. Another enhancement made was the addtion of the PropertyChanged event to the Coordinate class, which provides the mechanism(机制,机理;办法,途径) to signal that one of it's properties has changed to anyone listening. The CoordinateCollection has been updated to be a BindingList, to leverage the native functionality of the BindingList class, such as OnListChanged. For more details on what these changes mean to the develop, refer to the Working with Geometry, or the namespace refernce material(材料, 原料, 物资, 素材,).

    使用Geometries

        新的Geometries命名空间包含一些类,这些类用来代表存储在数据图层中要素。Geometries命名空间中含有的类大部分存在于上一个版本中,尽管他们已经更新过了。代表features的类,比如:point类和polygon类发生了改变,这些改变允许使用更过种类的构造方法使使用多种的geometry类型更加容易。Geometry feature 类已经被赋予通过geomtryChanged事件对一信号的改变引起一个事件的能力。 这个版本中的该命名空间下的新类是:CoordinatesChangedEventArgs,GeometryChangedEventArgs,和SpatialIndex。另外一个改进的地方是为Coordinate类添加了一个PropertyChanged事件,它提供了一种向任何一个侦听器发送她的其中一个属性已经改变的信号的机制。CoordinateCollection已经被更新为一个BindingList,来影响BindingList类的自身功能,比如:onListChanged。更过关于这些给改变对开发者意味着什么的详细信息,参考Working with Geometry或者命名空间参考材料

  • 相关阅读:
    C#枚举(一)使用总结以及扩展类分享
    .NET使用DinkToPdf将HTML转成PDF
    .NET使用MailKit进行邮件处理
    socket+django
    mysql 修改编码格式
    django中Model表的反向查询
    浅谈 session 会话的原理
    浅谈 django Models中的跨表
    django Models 常用的字段和参数
    encoding/xml
  • 原文地址:https://www.cnblogs.com/xingchen/p/1824505.html
Copyright © 2011-2022 走看看