From c982bbb42d2e15e3e558567f5b38f8efd736d8db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D1=81=D0=B0=D0=BB=D0=BA=D0=B8=D0=BD=20=D0=9F?= =?UTF-8?q?=D0=B0=D0=B2=D0=B5=D0=BB?= Date: Fri, 20 Sep 2019 15:03:26 +0500 Subject: [PATCH] Update links --- README.md | 4 ++-- examples/tasmania.html | 6 +++--- spec/WFS.js | 26 +++++++++++++------------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index bf32e2e..33d16e9 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ wfstPoint.addTo(map); |crs|L.CRS.EPSG3857|spatial reference system for layer, should implement [ICRS](http://leafletjs.com/reference.html#icrs), for example [Proj4Leaflet](https://github.com/kartena/Proj4Leaflet) | |showExisting|true|load existing features on create layer| |geometryField|'Shape'|field for storing geometries, for non transaction services may be ommited| -|url|-|WFS url, for example http://demo.opengeo.org/geoserver/osm/ows +|url|-|WFS url, for example http://geoserver.ics.perm.ru/geoserver/osm/ows |typeNS|-|type namespace| |typeName|-|type name| |typeNSName|-|type namespace name| @@ -88,7 +88,7 @@ wfstPoint.addTo(map); var map = L.map('map').setView([0, 0], 2); var boundaries = new L.WFS({ - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_state_boundaries', crs: L.CRS.EPSG4326, diff --git a/examples/tasmania.html b/examples/tasmania.html index c9319c1..e146a9f 100644 --- a/examples/tasmania.html +++ b/examples/tasmania.html @@ -25,7 +25,7 @@ }).addTo(map); var boundaries = new L.WFS({ - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_state_boundaries', crs: L.CRS.EPSG4326, @@ -41,7 +41,7 @@ }); var roads = new L.WFS({ - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_roads', crs: L.CRS.EPSG4326, @@ -53,7 +53,7 @@ }).addTo(map); var cities = new L.WFS({ - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_cities', crs: L.CRS.EPSG4326, diff --git a/spec/WFS.js b/spec/WFS.js index 01b207b..dd527f2 100644 --- a/spec/WFS.js +++ b/spec/WFS.js @@ -12,7 +12,7 @@ describe('WFS', function () { 'xmlns:xsd="http://www.w3.org/2001/XMLSchema" ' + 'elementFormDefault="qualified" ' + 'targetNamespace="http://www.openplans.org/topp"> ' + - '' + + '' + '' + '' + '' + @@ -129,7 +129,7 @@ describe('WFS', function () { }); var options = { - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_cities', geometryField: 'the_geom', @@ -181,7 +181,7 @@ describe('WFS', function () { it('should trigger \'error\' event if \'DescribeFeatureType\' request failed', function () { var options = { - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_cities', crs: L.CRS.EPSG4326, @@ -225,7 +225,7 @@ describe('WFS', function () { it('should trigger \'error\' event if \'DescribeFeatureType\' request succeed but with ExceptionReport', function () { var options = { - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_cities', crs: L.CRS.EPSG4326, @@ -269,7 +269,7 @@ describe('WFS', function () { it('should trigger \'error\' event if \'DescribeFeatureType\' request succeed, but \'GetFeature\' request failed', function () { var options = { - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_cities', crs: L.CRS.EPSG4326, @@ -322,7 +322,7 @@ describe('WFS', function () { it('should trigger \'error\' event if \'DescribeFeatureType\' request succeed, but \'GetFeature\' request succeed with ExceptionReport', function () { var options = { - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_cities', crs: L.CRS.EPSG4326, @@ -375,7 +375,7 @@ describe('WFS', function () { it('should trigger \'load\' event if \'DescribeFeatureType\' request succeed, and \'GetFeature\' request succeed', function () { var options = { - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_cities', crs: L.CRS.EPSG4326, @@ -436,7 +436,7 @@ describe('WFS', function () { beforeEach(function () { options1 = { - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_cities', geometryField: 'the_geom', @@ -445,7 +445,7 @@ describe('WFS', function () { }; options2 = { - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_cities', geometryField: 'the_geom', @@ -498,7 +498,7 @@ describe('WFS', function () { server = sinon.fakeServer.create(); var options = { - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_cities', geometryField: 'the_geom', @@ -588,7 +588,7 @@ describe('WFS', function () { it('should trigger \'errorCallback\' if \'GetCapabilities\' request failed', function () { var options = { - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_cities', crs: L.CRS.EPSG4326, @@ -629,7 +629,7 @@ describe('WFS', function () { it('should trigger \'errorCallback\' if \'GetCapabilities\' request succeed but with ExceptionReport', function () { var options = { - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'topp', typeName: 'tasmania_cities', crs: L.CRS.EPSG4326, @@ -680,7 +680,7 @@ describe('WFS', function () { server = sinon.fakeServer.create(); var options = { - url: 'http://demo.opengeo.org/geoserver/ows', + url: 'http://geoserver.ics.perm.ru/geoserver/ows', typeNS: 'ics', typeName: 'zayavki', geometryField: 'the_geom',