예제 #1
0
 public override XElement ToXElement(string @namespace)
 {
     return(new XElement(XName.Get("Attribution", @namespace),
                         new XElement(XName.Get("Title", @namespace), Title),
                         OnlineResource.ToXElement(@namespace),
                         LogoURL.ToXElement(@namespace)));
 }
예제 #2
0
 public override XElement ToXElement(string @namespace)
 {
     return(new XElement(XName.Get("StyleURL", @namespace),
                         new XAttribute(XName.Get("type"), Type),
                         new XElement(XName.Get("Format", @namespace), Format),
                         OnlineResource.ToXElement(@namespace)));
 }
예제 #3
0
파일: LegendURL.cs 프로젝트: huhen/BruTile
 public override XElement ToXElement(string @namespace)
 {
     return(new XElement(XName.Get("LegendURL", @namespace),
                         new XAttribute(XName.Get("width"), Width.ToString(NumberFormatInfo.InvariantInfo)),
                         new XAttribute(XName.Get("height"), Height.ToString(NumberFormatInfo.InvariantInfo)),
                         new XElement(XName.Get("Format", @namespace), Format),
                         OnlineResource.ToXElement(@namespace)));
 }