Ignore empty gx:coord elements in KML files

This commit is contained in:
Andreas Voegele
2021-03-15 15:47:03 +01:00
committed by Andreas Vögele
parent ab8a16a8a7
commit 73c10b00ae
2 changed files with 18 additions and 8 deletions

View File

@@ -1603,9 +1603,11 @@ describe('ol.format.KML', function () {
' <when>2014-01-06T19:38:55Z</when>' +
' <when>2014-01-06T19:39:03Z</when>' +
' <when>2014-01-06T19:39:10Z</when>' +
' <when>2014-01-06T19:39:17Z</when>' +
' <gx:coord>8.1 46.1 1909.9</gx:coord>' +
' <gx:coord>8.2 46.2 1925.2</gx:coord>' +
' <gx:coord>8.3 46.3 1926.2</gx:coord>' +
' <gx:coord/>' +
' </gx:Track>' +
' </Placemark>' +
'</kml>';