Make wms-capabilities example work when hosted

This commit is contained in:
Éric Lemoine
2013-03-03 16:42:29 +01:00
parent 01d49ef9c9
commit bd67a14389
3 changed files with 287 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
goog.require('ol.parser.ogc.WMSCapabilities');
var parser = new ol.parser.ogc.WMSCapabilities(), result;
var url = '../test/spec/ol/parser/ogc/xml/wmscapabilities_v1_3_0/ogcsample.xml';
var url = 'data/ogcsample.xml';
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);