From 7b09e04001e3fa857f469aad09dbe393c9673199 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Thu, 23 Jan 2014 15:38:51 +0100 Subject: [PATCH] Rename ol.format.KML.readscale_ to ol.format.KML.readScale_ --- src/ol/format/kmlformat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/format/kmlformat.js b/src/ol/format/kmlformat.js index c861fa763e..544c1cff2e 100644 --- a/src/ol/format/kmlformat.js +++ b/src/ol/format/kmlformat.js @@ -433,7 +433,7 @@ ol.format.KML.readVec2_ = function(node) { * @private * @return {number|undefined} Scale. */ -ol.format.KML.readscale_ = function(node) { +ol.format.KML.readScale_ = function(node) { var number = ol.format.KML.readNumber_(node); if (goog.isDef(number)) { return Math.sqrt(number); @@ -1236,7 +1236,7 @@ ol.format.KML.ICON_STYLE_PARSERS_ = ol.xml.makeParsersNS( 'Icon': ol.xml.makeObjectPropertySetter(ol.format.KML.readIcon_), 'heading': ol.xml.makeObjectPropertySetter(ol.format.KML.readNumber_), 'hotSpot': ol.xml.makeObjectPropertySetter(ol.format.KML.readVec2_), - 'scale': ol.xml.makeObjectPropertySetter(ol.format.KML.readscale_) + 'scale': ol.xml.makeObjectPropertySetter(ol.format.KML.readScale_) });