From 81d0e9ea6342aa79e2f49e25a037c8ee396884b7 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 23 Feb 2016 15:51:13 +0100 Subject: [PATCH] Use get(key) instead of getProperties()[key] --- src/ol/format/kmlformat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/format/kmlformat.js b/src/ol/format/kmlformat.js index ec3bf42826..270fee0552 100644 --- a/src/ol/format/kmlformat.js +++ b/src/ol/format/kmlformat.js @@ -388,7 +388,7 @@ ol.format.KML.createFeatureStyleFunction_ = function(style, styleUrl, } if (drawName) { - name = /** @type {string} */ (this.getProperties()['name']); + name = /** @type {string} */ (this.get('name')); drawName = drawName && name; }