Добавляет в слой линейный объект
<xs:element name="zulu-server"> <xs:complexType> <xs:sequence> <xs:element name="Command"> <xs:complexType> <xs:choice> <xs:element name="LayerAddPolyline" type="typeLayerAddPolyline"/> </xs:choice> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:complexType name="typeLayerAddPolyline"> <xs:all> <xs:element name="Layer" type="typeLayer"/> <xs:element name="ElemID" type="xs:integer <xs:element name="ModeNum" type="typeModeNum"/> <xs:element name="CRS" type="typeCRS" minOccurs="0" maxOccurs="1" default="EPSG:3857"/> <xs:element name="coordinates" type="kml:CoordinatesType"/> </xs:all> </xs:complexType>
<xs:element name="zwsResponse"> <xs:complexType> <xs:sequence> <xs:choice minOccurs="0"> <xs:element name="LayerAddPolyline"/> </xs:choice> <xs:element name="RetVal" type="xs:integer"/> </xs:sequence> </xs:complexType> </xs:element>
<?xml version="1.0" encoding="UTF-8"?> <zulu-server service="zws" version="1.0.0"> <Command> <LayerAddPolyline> <Layer>riga:teplo</Layer> <TypeID>14</TypeID> <ModeNum>1</ModeNum> <CRS>EPSG:3857</CRS> <coordinates>7754557.35,2674979.51 7754680.74,2675191.87</coordinates> </LayerAddPolyline> </Command> </zulu-server>
<?xml version="1.0" encoding="UTF-8" ?>
<zwsResponse>
<LayerAddPolyline />
<RetVal>75802</RetVal>
</zwsResponse>