Add gpx speed parser
This commit is contained in:
parent
fcdfd5827f
commit
b2e085dd45
1 changed files with 1 additions and 1 deletions
|
@ -1166,7 +1166,7 @@ public class GPXUtilities {
|
|||
((WptPt) parse).comment = readText(parser, "cmt");
|
||||
} else if (parser.getName().equals("speed") ) {
|
||||
try {
|
||||
String value = readText(parser, "cmt");
|
||||
String value = readText(parser, "speed");
|
||||
((WptPt) parse).speed = Float.parseFloat(value);
|
||||
((WptPt) parse).getExtensionsToWrite().put("speed", value);
|
||||
} catch (NumberFormatException e) {
|
||||
|
|
Loading…
Reference in a new issue