We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8898faf commit 515de90Copy full SHA for 515de90
Specs/DataSources/KmlDataSourceSpec.js
@@ -263,6 +263,18 @@ defineSuite([
263
});
264
265
266
+ it('if load contains <icon> tag with no image included, no image is added', function() {
267
+ var dataSource = new KmlDataSource(options);
268
+ return loadBlob('Data/KML/simpleNoIcon.kml').then(function(blob) {
269
+ return dataSource.load(blob);
270
+ }).then(function(source) {
271
+ expect(source.entities);
272
+ expect(source.entities.values.length).toEqual(1);
273
+ expect(source.entities._entities._array.length).toEqual(1);
274
+ expect(!source.entities._entities._array[0]._billboard._image);
275
+ });
276
277
+
278
it('sets DataSource name from Document', function() {
279
var kml = '<?xml version="1.0" encoding="UTF-8"?>\
280
<Document>\
0 commit comments