Update expected scales

This commit is contained in:
mike-000
2021-09-04 15:52:47 +01:00
parent c76e78d0b3
commit 35ed7d4358

View File

@@ -2446,7 +2446,7 @@ describe('ol.format.KML', function () {
expect(imageStyle.getAnchor()).to.eql([24, 36]);
expect(imageStyle.getOrigin()).to.eql([24, 108]);
expect(imageStyle.getRotation()).to.eql(0);
expect(imageStyle.getScale()).to.eql(3.0);
expect(imageStyle.getScale()).to.eql(2.0); // 3.0 * 32 / 48
expect(style.getText()).to.be(getDefaultTextStyle());
expect(style.getZIndex()).to.be(undefined);
});
@@ -3027,7 +3027,7 @@ describe('ol.format.KML', function () {
' <Placemark>' +
' <Style>' +
' <IconStyle>' +
' <scale>0.5</scale>' +
' <scale>0.75</scale>' + // 0.5 * 48 / 32
' <heading>45</heading>' +
' <Icon>' +
' <href>http://foo.png</href>' +