Class MapDescriptionClass
[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
dataIXMLSerializeData
GeoTransformation
On-the-fly geographic transformations.
virtual IGeoTransformation GeoTransformation { get; set; }
Returns
Remarks
GeoTransformation provides access to members that define a geographic (datum) transformation.
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
pClassIDGuid
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
pClassIDGuid
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
Load(IStream)
virtual void Load(IStream pstm)
Parameters
pstmIStream
MapArea
The display area of the map (data frame).
virtual IMapArea MapArea { get; set; }
Returns
MapRotation
The angle/rotation of the map (data frame) in degrees, measured anti-clockwise.
virtual double MapRotation { get; set; }
Returns
Name
The name of the map (data frame).
virtual string Name { get; set; }
Returns
Save(IStream, int)
virtual void Save(IStream pstm, int fClearDirty)
Parameters
Serialize(IXMLSerializeData)
Serializes an object to XML.
virtual void Serialize(IXMLSerializeData data)
Parameters
dataIXMLSerializeData
SpatialReference
The spatial reference of the map (data frame).
virtual ISpatialReference SpatialReference { get; set; }
Returns
TimeReference
Time reference used by the time aware content.
virtual ITimeReference TimeReference { get; set; }
Returns
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
TransparentColor
The color that is transparent (100 %).
virtual IColorDescription TransparentColor { get; set; }