The JSON-serializable point type.
상속: JsonGeometry, IJsonGeometry
예제 #1
0
 private static XElement ToKmlPoint(this JsonPoint shape, double z, params XElement[] extraElements)
 {
     return(new XElement(kml + "Point", extraElements,
                         new XElement(kml + "coordinates", shape.ToCoordinates(z))));
 }
예제 #2
0
 private static IPoint ToEsriPoint(this JsonPoint shape)
 {
     return(new Point {
         X = shape.x, Y = shape.y
     });
 }
예제 #3
0
 private static string ToCoordinates(this JsonPoint shape, double z)
 {
     return(shape.x + "," + shape.y + "," + z);
 }