From 84e61c657e8f0ee4ae5d84e4dc76015eae51c0f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Wed, 26 Oct 2016 08:23:18 +0200 Subject: [PATCH] Added support for sub-folders in KML --- src/kmlparser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kmlparser.cpp b/src/kmlparser.cpp index a8888738..92c104b1 100644 --- a/src/kmlparser.cpp +++ b/src/kmlparser.cpp @@ -212,6 +212,8 @@ void KMLParser::folder() while (_reader.readNextStartElement()) { if (_reader.name() == "Placemark") placemark(); + else if (_reader.name() == "Folder") + folder(); else _reader.skipCurrentElement(); }