Added support for zoomToExtend when map contains invalid line (with only one point)

closes #65