mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-02-17 16:20:48 +01:00
Added support for KML files without document tags
This commit is contained in:
parent
84e61c657e
commit
c425b3868d
@ -236,6 +236,8 @@ void KMLParser::kml()
|
|||||||
while (_reader.readNextStartElement()) {
|
while (_reader.readNextStartElement()) {
|
||||||
if (_reader.name() == "Document")
|
if (_reader.name() == "Document")
|
||||||
document();
|
document();
|
||||||
|
else if (_reader.name() == "Placemark")
|
||||||
|
placemark();
|
||||||
else
|
else
|
||||||
_reader.skipCurrentElement();
|
_reader.skipCurrentElement();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user