public void AddDefaultSymbolForGeometryType(GeometryType geoType, SymbolDescription symbol)
 {
     if (!DefaultSymbols.ContainsKey(geoType))
     {
         DefaultSymbols.Add(geoType, symbol);
     }
 }
        protected IEnumerable<SymbolDescription> GetSymbolDescriptionsForJsonSymbolSet(string jsonSymbolSet)
        {
            try
            {
                string json = jsonSymbolSet;
            	JsonArray jsarray = (JsonArray)JsonArray.Parse(json);
                List<SymbolDescription> list = new List<SymbolDescription>();

                var jsymbols = from jsymbol in jsarray
                               select jsymbol;
                foreach (JsonObject j in jsymbols)
                {
                    SymbolDescription description = new SymbolDescription();
                    JsonObject symb = j["symbol"] as JsonObject;
                    description.Symbol = SymbolJsonHelper.SymbolFromJson(symb);
                    description.DisplayName = j["id"];
                    list.Add(description);
                }
                return list;
            }
            catch {}
            return null;

        }
 public void AddDefaultSymbolForGeometryType(GeometryType geoType, SymbolDescription symbol)
 {
     if (!DefaultSymbols.ContainsKey(geoType))
         DefaultSymbols.Add(geoType, symbol);
 }