protected override void RenderRules() { MapPolygonRules mapPolygonRules = MapPolygonLayer.MapPolygonRules; if (mapPolygonRules != null && mapPolygonRules.MapColorRule != null) { m_polygonColorRuleMapper.RenderPolygonRule(m_polygonTemplateMapper); } MapPointRules mapCenterPointRules = MapPolygonLayer.MapCenterPointRules; if (mapCenterPointRules != null) { RenderPointRules(mapCenterPointRules); } }
protected override void CreateRules() { MapPolygonRules mapPolygonRules = MapPolygonLayer.MapPolygonRules; if (mapPolygonRules != null && mapPolygonRules.MapColorRule != null) { m_polygonColorRuleMapper = new ColorRuleMapper(mapPolygonRules.MapColorRule, this, GetSpatialElementManager()); m_polygonColorRuleMapper.CreatePolygonRule(); } MapPointRules mapCenterPointRules = MapPolygonLayer.MapCenterPointRules; if (mapCenterPointRules != null) { CreatePointRules(mapCenterPointRules); } }