Don't use problematic afterLoadXml function
This commit is contained in:
@@ -1365,7 +1365,7 @@ describe('ol.format.KML', function() {
|
|||||||
|
|
||||||
var features;
|
var features;
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
afterLoadXml('spec/ol/format/kml/states.kml', function(xml) {
|
afterLoadText('spec/ol/format/kml/states.kml', function(xml) {
|
||||||
try {
|
try {
|
||||||
features = format.readFeatures(xml);
|
features = format.readFeatures(xml);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user