Rename ol.format.KML.readscale_ to ol.format.KML.readScale_
This commit is contained in:
@@ -433,7 +433,7 @@ ol.format.KML.readVec2_ = function(node) {
|
|||||||
* @private
|
* @private
|
||||||
* @return {number|undefined} Scale.
|
* @return {number|undefined} Scale.
|
||||||
*/
|
*/
|
||||||
ol.format.KML.readscale_ = function(node) {
|
ol.format.KML.readScale_ = function(node) {
|
||||||
var number = ol.format.KML.readNumber_(node);
|
var number = ol.format.KML.readNumber_(node);
|
||||||
if (goog.isDef(number)) {
|
if (goog.isDef(number)) {
|
||||||
return Math.sqrt(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_),
|
'Icon': ol.xml.makeObjectPropertySetter(ol.format.KML.readIcon_),
|
||||||
'heading': ol.xml.makeObjectPropertySetter(ol.format.KML.readNumber_),
|
'heading': ol.xml.makeObjectPropertySetter(ol.format.KML.readNumber_),
|
||||||
'hotSpot': ol.xml.makeObjectPropertySetter(ol.format.KML.readVec2_),
|
'hotSpot': ol.xml.makeObjectPropertySetter(ol.format.KML.readVec2_),
|
||||||
'scale': ol.xml.makeObjectPropertySetter(ol.format.KML.readscale_)
|
'scale': ol.xml.makeObjectPropertySetter(ol.format.KML.readScale_)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user