You could add an entry for `null` here which would remove the need for the `goog.isNull` check in `ol.format.KML.readVec2_` below.