From 479863756bbc89f72e71d9ac9a02a0dd2e900de4 Mon Sep 17 00:00:00 2001 From: Jeremy Salankey Date: Thu, 3 Jan 2019 10:20:40 -0700 Subject: [PATCH] fix(kml): fixes parsing of float refreshInterval values THIN-12625 --- src/plugin/file/kml/kml.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugin/file/kml/kml.js b/src/plugin/file/kml/kml.js index 76c5a7b2f..6c11ec53a 100644 --- a/src/plugin/file/kml/kml.js +++ b/src/plugin/file/kml/kml.js @@ -258,10 +258,10 @@ plugin.file.kml.readTime = function(node, objectStack) { */ plugin.file.kml.LINK_PARSERS = ol.xml.makeStructureNS( plugin.file.kml.OL_NAMESPACE_URIS(), { - 'refreshInterval': ol.xml.makeObjectPropertySetter(ol.format.XSD.readNonNegativeInteger), + 'refreshInterval': ol.xml.makeObjectPropertySetter(ol.format.XSD.readDecimal), 'refreshMode': ol.xml.makeObjectPropertySetter(ol.format.XSD.readString), 'viewRefreshMode': ol.xml.makeObjectPropertySetter(ol.format.XSD.readString), - 'viewRefreshTime': ol.xml.makeObjectPropertySetter(ol.format.XSD.readNonNegativeInteger) + 'viewRefreshTime': ol.xml.makeObjectPropertySetter(ol.format.XSD.readDecimal) });