public string AddRuleField(object dataValue) { string text = this.GenerateUniqueFieldName(); this.AddFieldDefinition(text, CoreSpatialElementManager.GetFieldType(dataValue)); return(text); }
public SpatialDataSetMapper(VectorLayerMapper vectorLayerMapper, Dictionary <SpatialElementKey, SpatialElementInfoGroup> spatialElementsDictionary, CoreSpatialElementManager spatialElementManager, MapControl coreMap, MapMapper mapMapper) : base(vectorLayerMapper, spatialElementsDictionary, coreMap, mapMapper) { this.m_spatialElementManager = spatialElementManager; this.m_spatialDataSet = (MapSpatialDataSet)base.m_mapVectorLayer.MapSpatialData; this.m_dataSet = this.m_spatialDataSet.DataSet; this.m_dataSetInstance = this.m_dataSet.Instance; }
public RuleMapper(MapAppearanceRule mapRule, VectorLayerMapper vectorLayerMapper, CoreSpatialElementManager coreSpatialElementManager) { this.m_mapRule = mapRule; this.m_mapVectorLayer = vectorLayerMapper.m_mapVectorLayer; this.m_coreMap = vectorLayerMapper.m_coreMap; this.m_coreSpatialElementManager = coreSpatialElementManager; this.m_mapMapper = vectorLayerMapper.m_mapMapper; }
private bool AddFieldDefinition(string fieldUniqueName, object value) { if (value != null) { this.m_spatialElementManager.AddFieldDefinition(fieldUniqueName, CoreSpatialElementManager.GetFieldType(value)); return(true); } return(false); }
public EmbeddedSpatialDataMapper(VectorLayerMapper vectorLayerMapper, Dictionary <SpatialElementKey, SpatialElementInfoGroup> spatialElementsDictionary, ISpatialElementCollection embeddedCollection, CoreSpatialElementManager spatialElementManager, MapControl coreMap, MapMapper mapMapper) : base(vectorLayerMapper, spatialElementsDictionary, coreMap, mapMapper) { this.m_spatialElementManager = spatialElementManager; this.m_embeddedCollection = embeddedCollection; }
public SizeRuleMapper(MapSizeRule mapColorRule, VectorLayerMapper vectorLayerMapper, CoreSpatialElementManager coreSpatialElementManager) : base(mapColorRule, vectorLayerMapper, coreSpatialElementManager) { }