Skip to content

Commit cf73c2d

Browse files
committed
Touch WorldWindFixes to trigger updates.
1 parent 7e9c91b commit cf73c2d

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

dist/index.es.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/api/WorldWindFixes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,8 @@ export default class WorldWindFixes {
491491
* @returns {PlacemarkAttributes} Attributes representing the current Placemark.
492492
*/
493493
WorldWind.KmlPlacemark.prototype.prepareAttributes = function (style) {
494-
var options = style && style.generate() || {normal: {}, highlight:{}};
495-
var placemarkAttributes = new WorldWind.PlacemarkAttributes(WorldWind.KmlStyle.placemarkAttributes(options));
494+
let options = style && style.generate() || {normal: {}, highlight:{}};
495+
let placemarkAttributes = new WorldWind.PlacemarkAttributes(WorldWind.KmlStyle.placemarkAttributes(options));
496496

497497
placemarkAttributes.imageOffset = new WorldWind.Offset(
498498
WorldWind.OFFSET_FRACTION, 0.5,
@@ -501,7 +501,7 @@ export default class WorldWindFixes {
501501
placemarkAttributes.labelAttributes = new WorldWind.TextAttributes(WorldWind.KmlStyle.textAttributes({
502502
_offset: new WorldWind.Offset(
503503
WorldWind.OFFSET_FRACTION, 0.5,
504-
WorldWind.OFFSET_FRACTION, -0.3),
504+
WorldWind.OFFSET_FRACTION, -0.35),
505505
_color: WorldWind.Color.YELLOW,
506506
_depthTest: true
507507
}));

0 commit comments

Comments
 (0)