| 58 | } |
| 59 | |
| 60 | void GpxParser::ResetPoint() |
| 61 | { |
| 62 | m_name.clear(); |
| 63 | m_description.clear(); |
| 64 | m_comment.clear(); |
| 65 | m_org = {}; |
| 66 | m_predefinedColor = PredefinedColor::None; |
| 67 | m_color = kInvalidColor; |
| 68 | m_customName.clear(); |
| 69 | m_geometry.Clear(); |
| 70 | m_geometryType = GEOMETRY_TYPE_UNKNOWN; |
| 71 | m_lat = 0.; |
| 72 | m_lon = 0.; |
| 73 | m_altitude = geometry::kInvalidAltitude; |
| 74 | m_timestamp = base::INVALID_TIME_STAMP; |
| 75 | } |
| 76 | |
| 77 | bool GpxParser::MakeValid() |
| 78 | { |