Fix a couple option types on Cesium classes ImageMaterialProperty and LabelGraphics (#40703)

* Fix a couple option types on Cesium classes

* More fixes
This commit is contained in:
Joey Rafidi 2019-12-10 11:03:14 -05:00 committed by Orta
parent 05c34ba8ff
commit cc312e7c0a

View File

@ -2233,7 +2233,7 @@ declare namespace Cesium {
class ImageMaterialProperty extends MaterialProperty {
image: Property;
repeat: Property;
constructor(options?: { image?: Property; repeat?: Property });
constructor(options?: { image?: Property; repeat?: Property, color?: Property, transparent?: Property });
}
class KmlDataSource extends DataSource {
@ -2279,13 +2279,18 @@ declare namespace Cesium {
outlineWidth?: number;
show?: Property;
scale?: Property;
showBackground?: Property;
backgroundColor?: Property;
backgroundPadding?: Property;
horizontalOrigin?: Property;
verticalOrigin?: Property;
eyeOffset?: Property;
pixelOffset?: Property;
translucencyByDistance?: Property;
pixelOffsetScaleByDistance?: Property
pixelOffsetScaleByDistance?: Property;
heightReference?: Property;
scaleByDistance?: Property;
distanceDisplayCondition?: Property;
});
clone(result?: LabelGraphics): LabelGraphics;
merge(source: LabelGraphics): LabelGraphics;