Skip to content

Commit 13a6606

Browse files
author
josh_bernstein
committed
Fix bug with placemarks in imported KML, where placemarks with no specified icon are displayed with yellow icon CesiumGS#5819
1 parent b59cba1 commit 13a6606

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

CHANGES.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Change Log
22
==========
3+
### 1.38 - 2017-10-01
4+
* Fixed bug with placemarks in imported KML: placemarks with no specified icon would be displayed with default icon (https://github.com/AnalyticalGraphicsInc/cesium/issues/5819)
5+
36
### 1.37 - 2017-09-01
47

58
* Breaking changes

Source/DataSources/KmlDataSource.js

-4
Original file line numberDiff line numberDiff line change
@@ -1111,10 +1111,6 @@ define([
11111111
entity.billboard = billboard;
11121112
}
11131113

1114-
if (!defined(billboard.image)) {
1115-
billboard.image = dataSource._pinBuilder.fromColor(Color.YELLOW, 64);
1116-
}
1117-
11181114
var scale = 1.0;
11191115
if (defined(billboard.scale)) {
11201116
scale = billboard.scale.getValue();

0 commit comments

Comments
 (0)