Esempio n. 1
0
        public SharpMap.Styles.VectorStyle GetRotatedSymol(SharpMap.Data.FeatureDataRow row)
        {
            if (!System.String.IsNullOrEmpty(SymbolColumn))
                try
                {
                    SharpMap.Styles.VectorStyle dataStyle = CloneStyle(DefaultStyle);
                    if (!row.IsNull(SymbolColumn))
                    {
                        dataStyle.Symbol = new System.Drawing.Bitmap(
                            new System.IO.MemoryStream((byte[]) row[SymbolColumn]));
                    }
                    return dataStyle;
                }
                catch { }

            return null;
        }