Pitney Bowes MapXtreme User Manual

Page 601

Advertising
background image

Appendix J: Migrating to MapXtreme

Comparing MapXtreme’s Object Model to MapX

MapXtreme v7.1

608

Developer Guide

Layer (continued)

•

Find: Find

•

GetDrillDownFeaturesByID: Not addressed

•

GetFeatureByID: Equivalent functionality is a key cursor using
MICommand.

•

Invalidate: IMapLayer.Invalidate

•

KeyField: Obsolete. Equivalent functionality is MICommand.

•

LabelAtPoint

•

LabelProperties: LabelSource.DefaultLabelProperties.

•

Labels

•

Name: FeatureLayer.Name or Alias.

•

NoFeatures

•

OverrideStyle: Equivalent is the FeatureLayer.Modifiers collection.

•

Pack: Equivalent is FeatureLayer.Table.Pack

•

PredominantFeatureType:MISpatialColumnInfo.PredominantObjectType.
You can get the column from the Table.TableInfo.ColumnInfos property.

•

Refresh: Flushes the cache. Equivalent: Table.Refresh()

•

Search: Equivalent is MICommand. the result, however, can contain more
than just feature keys.

•

SearchAtPoint: No “easy” equivalent.

•

SearchWithinDistance: No “easy” equivalent.

•

SearchWithinRectangle: No “easy” equivalent.

•

SearchWithinFeature: No “easy” equivalent.

•

Selectable: FeatureLayer.Selectable.

•

Selection: Selection class in Session.Sessions collection.

•

ShowCentroids: FeatureLayer.ShowCentroids

•

ShowLineDirection: FeatureLayer.ShowLineDirection

•

ShowNodes: FeatureLayer.ShowNodes

•

Style: Equivalent is now the FeatureLayer.Modifiers collection.

•

SupportsPack: Table.SupportsPack

•

Type: IMapLayer.Type

•

UpdateFeature: Equivalent through MICommand

•

Visible: IMapLayer.Enabled. IMapLayer.Visible takes into account:

•

ZoomLayer: IMapLayer.ZoomRangeEnabled

•

ZoomMax: IMapLayer.ZoomRange.End

•

ZoomMin: IMapLayer.ZoomRange.Start

Layers

Layers

•

AnimationLayer equivalent: GroupLayer and BackingStoreState.Off

•

InsertionLayer equivalent: AddMapTool.InsertionLayer

•

Selections: Live in the Session object.

LayerInfo

Obsolete. Equivalent is TableInfo

MapX 5.0

MapXtreme

Advertising