We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b6f55c commit 4b0b03aCopy full SHA for 4b0b03a
Source/DataSources/KmlDataSource.js
@@ -1146,7 +1146,11 @@ define([
1146
1147
if (!defined(billboard.image)) {
1148
billboard.image = dataSource._pinBuilder.fromColor(Color.YELLOW, 64);
1149
- } else if (billboard.image == false) {
+
1150
+ // If there were empty <Icon> tags in the KML, then billboard.image was set to false above
1151
+ // However, in this case, the false value would have been converted to a property afterwards
1152
+ // Thus, we check if billboard.image is defined with value of false
1153
+ } else if (billboard.image && !billboard.image.getValue()) {
1154
billboard.image = undefined;
1155
}
1156
0 commit comments