Beispiel #1
0
 internal RuleMapper(MapAppearanceRule mapRule, VectorLayerMapper vectorLayerMapper, CoreSpatialElementManager coreSpatialElementManager)
 {
     m_mapRule                   = mapRule;
     m_mapVectorLayer            = vectorLayerMapper.m_mapVectorLayer;
     m_coreMap                   = vectorLayerMapper.m_coreMap;
     m_coreSpatialElementManager = coreSpatialElementManager;
     m_mapMapper                 = vectorLayerMapper.m_mapMapper;
 }
 internal SpatialDataSetMapper(VectorLayerMapper vectorLayerMapper, Dictionary <SpatialElementKey, SpatialElementInfoGroup> spatialElementsDictionary, CoreSpatialElementManager spatialElementManager, MapControl coreMap, MapMapper mapMapper)
     : base(vectorLayerMapper, spatialElementsDictionary, coreMap, mapMapper)
 {
     m_spatialElementManager = spatialElementManager;
     m_spatialDataSet        = (MapSpatialDataSet)m_mapVectorLayer.MapSpatialData;
     m_dataSet         = m_spatialDataSet.DataSet;
     m_dataSetInstance = m_dataSet.Instance;
 }
 private bool AddFieldDefinition(string fieldUniqueName, object value)
 {
     if (value != null)
     {
         m_spatialElementManager.AddFieldDefinition(fieldUniqueName, CoreSpatialElementManager.GetFieldType(value));
         return(true);
     }
     return(false);
 }
Beispiel #4
0
 internal ColorRuleMapper(MapColorRule mapColorRule, VectorLayerMapper vectorLayerMapper, CoreSpatialElementManager coreSpatialElementManager)
     : base(mapColorRule, vectorLayerMapper, coreSpatialElementManager)
 {
 }
Beispiel #5
0
 internal EmbeddedSpatialDataMapper(VectorLayerMapper vectorLayerMapper, Dictionary <SpatialElementKey, SpatialElementInfoGroup> spatialElementsDictionary, ISpatialElementCollection embeddedCollection, CoreSpatialElementManager spatialElementManager, MapControl coreMap, MapMapper mapMapper)
     : base(vectorLayerMapper, spatialElementsDictionary, coreMap, mapMapper)
 {
     m_spatialElementManager = spatialElementManager;
     m_embeddedCollection    = embeddedCollection;
 }