Remove useless code
This commit is contained in:
@@ -427,11 +427,9 @@ ol.format.KML.readVec2_ = function(node) {
|
|||||||
var yunits = node.getAttribute('yunits');
|
var yunits = node.getAttribute('yunits');
|
||||||
return {
|
return {
|
||||||
x: parseFloat(node.getAttribute('x')),
|
x: parseFloat(node.getAttribute('x')),
|
||||||
xunits: goog.isNull(xunits) ?
|
xunits: ol.format.KML.ICON_ANCHOR_UNITS_MAP_[xunits],
|
||||||
undefined : ol.format.KML.ICON_ANCHOR_UNITS_MAP_[xunits],
|
|
||||||
y: parseFloat(node.getAttribute('y')),
|
y: parseFloat(node.getAttribute('y')),
|
||||||
yunits: goog.isNull(yunits) ?
|
yunits: ol.format.KML.ICON_ANCHOR_UNITS_MAP_[yunits]
|
||||||
undefined : ol.format.KML.ICON_ANCHOR_UNITS_MAP_[yunits]
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user