Class changes in the ArcGIS Mobile 9.3 SDK

While there are many changes from 9.2 to 9.3, the table below provides a quick reference guide to the class level changes. Please refer to What's new with ArcGIS Mobile SDK at 9.3 document for more details.

Namespace changes

Namespace

Change

Note

CatalogServices

New namespace

Classes for retrieving server information

Geometies

New namespace

Classes for the geometric shapes of features

MapActions

New namespace

Classes for basic interactions with the map display

MobileServices

New namespace

Classes for the working with mobile services and data

SdcData

New namespace

Class for displaying SDC data.

Mobile

Classses moved

Classes moved to new namespaces above

Class changes

Gps.GpsEventArgs

replaced with NMEASentenceEventArg

members moved to GpsConnection

for example Altitude, FixStatus, Speed

Map.ToScreen()

replaced with Map.ToClient()

9.2 took an Int32 value while 9.3 takes a double

DataSource

New Abstact class

Added to make multiple datasources possible

MapCache

Class replaced with MobileService

MapLayer

Added SpatialReference property

Ensure all maplayers added to the map have same spatialReference.

MapLayerCollection

removed IsFixedSize and IsReadOnly

unused members

SimpleSymbol

Class removed and Symbol class added

Similar functionality and use

SelectionMapAction

SelectionFeedback property removed

Use SelectionGraphicLayer.SelectionSymbol property

MobileServiceLayer

Editable member replaced with AllowModify and AllowNew

Now able to determine type of edits allowed

FeatureLayer

class now inherits from MobileServicelayer

Many new members and functionality changes

FeatureLayer

Editable member replaced with AllowModify and AllowNew

Now able to determine type of edits allowed

FeatureLayer

Added GlobalIdColumnIndex and GlobalIdColumnName properties

Update() method has been renamed to SaveEdits()

CancelUpdates() method has been renamed to CancelEdits()

ChangeVersionName() and RestoreDefaultVersionName() added

GetDefaultValue() method has been added

The GlobalId column is now required for editing

Same functionality to save the edits to the local cache

CancelAllUpdates() has been renamed to CancelAllEdits()

Allows client-side changing of editing version

FeatureDataTable

UpdateFeatureLayer() has been renamed to SaveInFeatureLayer()

SelectionMapAction

GetFeatureSelection() method removed

Replaced with SelectedFeatures property

Coordinate

PropertyChanged() event has been added

This event is triggered when the X or Y value changes.

CoordinateCollection

Changed from Collection to a List type

Sync* methods removed as part of this change

CoordinateCollection

Removed IsFixedSize, IsIsolated, IsReadOnly,IsSynchronized,Syncroot

Added CollectionIsaRing(), GetNearestCoordinate, GetnearestVertex()

IsCounterClockwise changed from method to property

Properties are changed, as this is a list now.

Both method and property return a boolean

Geometry

CoordinateCount property removed

Addpart, Getpart, InsertPart, PartCount, RemovePartAt removed

GetEnvelope changed to GetExtent.

Use Part.Count property to get the number of Parts.

The Part collection has methods for all these tasks

This method returns an envelope

MultiPoint

GetCoordinate() removed

RemoveCoordinateAt() removed

Use MultiPoint.Corrdinates.Item() instead.

Use MultiPoint.Corrdinates.RemoveAt() instead.

SpatialReference

Units changed to Unit

Also in ProjectedCoordinateSystem

SpatialReference

CurrentGeoTransformation CurrentGeoTransformationIndex

New WGS Transformations supported using new library

SpatialReference.WGS1984To*

Replaced with FromWGS84

New process uses CurrentGeoTransaformation with FromWGS1984() or ToWGS1984()

SpatialReference.MobileTo*

Mobile methods are no longer required

New Spatial reference library eliminates these methods

WGS84GeoTransformation

New class to define WGS GeoTransformations

Encapsualtes the parameters for a SpatialRefernces' WGS GeoTransformation


9/20/2011