Skip to content

Commit

Permalink
Merge pull request #297 from bartvde/icon-scale
Browse files Browse the repository at this point in the history
Take into account scale on icons
  • Loading branch information
gberaudo committed Dec 10, 2015
2 parents 6189779 + d1f65bf commit 34ba285
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cesium.externs.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ Cesium.BillboardCollection = function(opt_options) {};
* verticalOrigin: (Cesium.VerticalOrigin|undefined),
* horizontalOrigin: (Cesium.HorizontalOrigin|undefined),
* pixelOffsetScaleByDistance : (Cesium.NearFarScalar|undefined),
* scale: (number|undefined),
* scaleByDistance: (Cesium.NearFarScalar|undefined),
* position: !Cesium.Cartesian3
* }}
Expand Down
1 change: 1 addition & 0 deletions src/featureconverter.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ olcs.FeatureConverter.prototype.olPointGeometryToCesium =
// always update Cesium externs before adding a property
image: image,
color: color,
scale: imageStyle.getScale(),
heightReference: heightReference,
verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
position: position
Expand Down

0 comments on commit 34ba285

Please sign in to comment.