Skip to content

Commit

Permalink
Merge pull request ngageoint#602 in WV/opensphere from ~SALANKEYJ/ope…
Browse files Browse the repository at this point in the history
…nsphere:THIN-12625 to master

* commit '479863756bbc89f72e71d9ac9a02a0dd2e900de4':
  fix(kml): fixes parsing of float refreshInterval values
  • Loading branch information
jsalankey committed Jan 3, 2019
2 parents 609d0fb + 4798637 commit d668f93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugin/file/kml/kml.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
});


Expand Down

0 comments on commit d668f93

Please sign in to comment.