diff --git a/Cesium.externs.js b/Cesium.externs.js index 252e286b7..fbdf717b5 100644 --- a/Cesium.externs.js +++ b/Cesium.externs.js @@ -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 * }} diff --git a/src/featureconverter.js b/src/featureconverter.js index a43a9f3e5..ca985c43e 100644 --- a/src/featureconverter.js +++ b/src/featureconverter.js @@ -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