From 12d7b5af95f16f3265bd922f9667dc0a41b7e9e8 Mon Sep 17 00:00:00 2001 From: Kogis IWI Date: Tue, 15 Dec 2015 17:48:57 +0100 Subject: [PATCH] Bind the function to the correct this object --- src/featureconverter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/featureconverter.js b/src/featureconverter.js index 373a89f8e..fa5a82a26 100644 --- a/src/featureconverter.js +++ b/src/featureconverter.js @@ -621,7 +621,7 @@ olcs.FeatureConverter.prototype.olMultiGeometryToCesium = goog.asserts.assert(!goog.isNull(geometry)); this.olPointGeometryToCesium(layer, feature, geometry, projection, olStyle, billboards, opt_newBillboardCallback); - }); + }.bind(this)); return null; } case 'MultiLineString':