Exemplo n.º 1
0
 public StyleGroupIcon(ExtendedIconCode iconIndex, System.Drawing.Color color)
 {
     id = "icon-" + (int)iconIndex + "-" + KmlStyles.HexConverter(color);
     styleIconNormal = new StyleIcon("1", "0", color)
     {
         id = id + "-normal"
     };
     styleIconHighLight = new StyleIcon("1", "1", color)
     {
         id = id + "-highlight"
     };
     styleMap = new StyleMap(styleIconNormal.id, styleIconHighLight.id)
     {
         id = id
     };
 }
Exemplo n.º 2
0
 public StyleGroupLine(System.Drawing.Color color)
 {
     this.id         = "MZ22-style";
     styleLineNormal = new StyleLine(color, 4)
     {
         id = this.id + "-normal"
     };
     styleLineHighLight = new StyleLine(color, 8)
     {
         id = this.id + "-highlight"
     };
     styleMap = new StyleMap(styleLineNormal.id, styleLineHighLight.id)
     {
         id = this.id
     };
 }