Remove useless code

This commit is contained in:
Éric Lemoine
2014-01-08 10:27:20 +01:00
parent 2bdae3d08a
commit 47056f6012

View File

@@ -427,11 +427,9 @@ ol.format.KML.readVec2_ = function(node) {
var yunits = node.getAttribute('yunits');
return {
x: parseFloat(node.getAttribute('x')),
xunits: goog.isNull(xunits) ?
undefined : ol.format.KML.ICON_ANCHOR_UNITS_MAP_[xunits],
xunits: ol.format.KML.ICON_ANCHOR_UNITS_MAP_[xunits],
y: parseFloat(node.getAttribute('y')),
yunits: goog.isNull(yunits) ?
undefined : ol.format.KML.ICON_ANCHOR_UNITS_MAP_[yunits]
yunits: ol.format.KML.ICON_ANCHOR_UNITS_MAP_[yunits]
};
};