ESRI.ArcGIS.ADF | |
m_mapSpatialRef Field | |
See Also Send comments on this topic. |
ESRI.ArcGIS.ADF.BaseClasses Namespace > BaseCustomGlobeLayer Class : m_mapSpatialRef Field |
Visual Basic (Declaration) | |
---|---|
Protected m_mapSpatialRef As ISpatialReference |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
protected ISpatialReference m_mapSpatialRef |
This spatial reference is set by the map. In order to support reprojection on the fly,
you should make sure that both class members m_spatialRef and m_mapSpatialRef are not null
and that each member holds different spatial reference (you can check that the factory code is different).
Then you can use method IGeometry.Project in order to reproject your geometries when the layer draw.