Explicitly mark fall-throughs
This commit is contained in:
1 parent
54df314936
commit
932bf4deb3
1 file changed
+1
@@ -557,6 +557,7 @@ ol.format.GPX.writeWptType_ = function(node, coordinate, objectStack) {
|
||||
if (coordinate[3] !== 0) {
|
||||
properties['time'] = coordinate[3];
|
||||
}
|
||||
// fall through
|
||||
case ol.geom.GeometryLayout.XYZ:
|
||||
if (coordinate[2] !== 0) {
|
||||
properties['ele'] = coordinate[2];
|
||||
|
||||
Reference in new issue
Block a user