private static XElement ToKmlMultipoint(this JsonMultipoint shape, double z, params XElement[] extraElements) { return(new XElement(kml + "MultiGeometry", shape.points.Select(p => new JsonPoint { x = p[0], y = p[1] }.ToKmlPoint(z, extraElements)))); }
private static IMultipoint ToEsriMultipoint(this JsonMultipoint shape) { return((IMultipoint) new Multipoint().Load(shape.points)); }