From c425b3868dc01c912d3810c8da3bd51315194cc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Wed, 26 Oct 2016 09:01:35 +0200 Subject: [PATCH] Added support for KML files without document tags --- src/kmlparser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kmlparser.cpp b/src/kmlparser.cpp index 92c104b1..12dde9d2 100644 --- a/src/kmlparser.cpp +++ b/src/kmlparser.cpp @@ -236,6 +236,8 @@ void KMLParser::kml() while (_reader.readNextStartElement()) { if (_reader.name() == "Document") document(); + else if (_reader.name() == "Placemark") + placemark(); else _reader.skipCurrentElement(); }