From 2814a9385ecdc649bba8cae5e1cf79fa1397c200 Mon Sep 17 00:00:00 2001 From: Serega Matin Date: Thu, 10 Nov 2016 19:54:57 +0500 Subject: [PATCH] Update scripts in 'dist' folder --- dist/Leaflet-WFST.min.js | 2 +- dist/Leaflet-WFST.src.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/Leaflet-WFST.min.js b/dist/Leaflet-WFST.min.js index 4c07883..2f1010f 100644 --- a/dist/Leaflet-WFST.min.js +++ b/dist/Leaflet-WFST.min.js @@ -1,2 +1,2 @@ -/*! Leaflet-WFST 1.0.0 2016-11-10 */ +/*! Leaflet-WFST 1.1.0 2016-11-10 */ !function(a,b,c){"use strict";L.XmlUtil={namespaces:{xlink:"http://www.w3.org/1999/xlink",xmlns:"http://www.w3.org/2000/xmlns/",xsd:"http://www.w3.org/2001/XMLSchema",xsi:"http://www.w3.org/2001/XMLSchema-instance",wfs:"http://www.opengis.net/wfs",gml:"http://www.opengis.net/gml",ogc:"http://www.opengis.net/ogc",ows:"http://www.opengis.net/ows"},xmldoc:(new DOMParser).parseFromString("","text/xml"),setAttributes:function(a,b){for(var c in b)if(null!=b[c]&&b[c].toString){var d=b[c].toString(),e=this.namespaces[c.substring(0,c.indexOf(":"))]||null;a.setAttributeNS(e,c,d)}},evaluate:function(a,b){var c=new DOMParser,d=c.parseFromString(b,"text/xml"),e=new XPathEvaluator,f=e.createNSResolver(d.documentElement);return e.evaluate(a,d,f,XPathResult.ANY_TYPE,null)},createElementNS:function(a,b,c){c=c||{};var d=c.uri;d||(d=this.namespaces[a.substring(0,a.indexOf(":"))]),d||(d=this.namespaces[c.prefix]);var e=d?this.xmldoc.createElementNS(d,a):this.xmldoc.createElement(a);return b&&this.setAttributes(e,b),null!=c.value&&e.appendChild(this.xmldoc.createTextNode(c.value)),e},createTextNode:function(a){return this.xmldoc.createTextNode(a)},serializeXmlDocumentString:function(a){var c=b.implementation.createDocument("","",null);c.appendChild(a);var d=new XMLSerializer;return d.serializeToString(c)},serializeXmlToString:function(a){var b=new XMLSerializer;return b.serializeToString(a)},parseXml:function(b){if("undefined"!=typeof a.DOMParser)return(new a.DOMParser).parseFromString(b,"text/xml");if("undefined"!=typeof a.ActiveXObject&&new a.ActiveXObject("Microsoft.XMLDOM")){var c=new a.ActiveXObject("Microsoft.XMLDOM");return c.async="false",c.loadXML(b),c}throw new Error("No XML parser found")},parseOwsExceptionReport:function(a){var b=L.XmlUtil.parseXml(a).documentElement;if(!b||"ows:ExceptionReport"!==b.tagName)return null;for(var c={exceptions:[],message:""},d=b.getElementsByTagNameNS(L.XmlUtil.namespaces.ows,"Exception"),e=0,f=d.length;e0)for(var j=i[0].childNodes,k=0;k0){var d=a[0];c.push(d.x+" "+d.y)}var e=c.join(" ");return L.XmlUtil.createElementNS("gml:posList",{},{value:e})}},L.LatLngBounds.prototype.toGml=function(a){var b=a.project(this.getSouthWest()),c=a.project(this.getNorthEast()),d=L.XmlUtil.createElementNS("gml:Envelope",{srsName:a.code});return d.appendChild(L.XmlUtil.createElementNS("gml:lowerCorner",{},{value:b.x+" "+b.y})),d.appendChild(L.XmlUtil.createElementNS("gml:upperCorner",{},{value:c.x+" "+c.y})),d},L.Marker.include({toGml:function(a){var b=L.XmlUtil.createElementNS("gml:Point",{srsName:a.code});return b.appendChild(L.GMLUtil.posNode(L.Util.project(a,this.getLatLng()))),b}}),L.Polygon.include({toGml:function(a){for(var b=this.getLatLngs(),c=[],d=0;d