Class MapDescriptionClass

Namespace
ESRI.ArcGIS.Carto
Assembly
ESRI.Server.Carto.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("CFCF1C16-DBF2-4EA0-8638-8803EBDC1E9C")]
public class MapDescriptionClass : MapDescription, IMapDescription, IMapTimeDescription, IMapServerGeoTransformation, IXMLSerialize, IPersistStream, IPersist
Inheritance
MapDescriptionClass
Implements
Inherited Members

Constructors

MapDescriptionClass()

public MapDescriptionClass()

Explicit Interface Implementations

Deserialize(IXMLSerializeData)

Deserializes an object from XML.

virtual void Deserialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

GeoTransformation

On-the-fly geographic transformations.

virtual IGeoTransformation GeoTransformation { get; set; }

Returns

IGeoTransformation

Remarks

GeoTransformation provides access to members that define a geographic (datum) transformation.

[Visual Basic .NET]

Dim pSRFactory As ISpatialReferenceFactory2
pSRFactory = New SpatialReferenceEnvironment
Dim pGeoTrans As IGeoTransformation
pGeoTrans = pSRFactory.CreateGeoTransformation(esriSRGeoTransformation3Type.esriSRGeoTransformation_NAD_1927_To_WGS_1984_30)
pQueryResultOptions.GeoTransformation = pGeoTrans



GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

IPersist_GetClassID(out Guid)

virtual void IPersist_GetClassID(out Guid pClassID)

Parameters

pClassID Guid

IsDirty()

virtual void IsDirty()

LayerDescriptions

A collection of Layer Description objects, each describing a layer within the map (data frame).

virtual ILayerDescriptions LayerDescriptions { get; set; }

Returns

ILayerDescriptions

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

MapArea

The display area of the map (data frame).

virtual IMapArea MapArea { get; set; }

Returns

IMapArea

MapRotation

The angle/rotation of the map (data frame) in degrees, measured anti-clockwise.

virtual double MapRotation { get; set; }

Returns

double

Name

The name of the map (data frame).

virtual string Name { get; set; }

Returns

string

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

Serialize(IXMLSerializeData)

Serializes an object to XML.

virtual void Serialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

SpatialReference

The spatial reference of the map (data frame).

virtual ISpatialReference SpatialReference { get; set; }

Returns

ISpatialReference

TimeReference

Time reference used by the time aware content.

virtual ITimeReference TimeReference { get; set; }

Returns

ITimeReference

Remarks

You should set this property when the TimeValue that you are passing in is in different timezone that any of the dataframe's or layer's TimeReference in the MapServer.

When TimeReference is set to Null/Nothing, MapServer assumes the TimeValue is in layer's TimeReference while searching features from layer. For example, there may be two layers in the map, one is in Pacific Standard Time (PST) and the other is in Eastern Standard Time (EST). If the TimeValue you are passing in is PST, but you have TimeReference is set to Null, when MapServer searches for feature for the first layer, it will assume the input TimeValue is in PST and find the correct features. While it searches for the features from the second layer, it will assume the input TimeValue is in EST and will get incorrect features.

TimeValue

Time value that will be used by the time aware content of the map.

virtual ITimeValue TimeValue { get; set; }

Returns

ITimeValue

TransparentColor

The color that is transparent (100 %).

virtual IColorDescription TransparentColor { get; set; }

Returns

IColorDescription