$.UIkit.offcanvas.hide();//[force = false] no animation
});
@ -290,9 +290,7 @@ function focusOnSpatialObject(objectId) {
});
returnfalse;
}
if(selectedSpatialObject!=objectId){
clearFocus();// Clear current focus if any
}
selectedSpatialObject=objectId;// (global) Why not use 'var' other than implicit declaration http://stackoverflow.com/questions/1470488/what-is-the-function-of-the-var-keyword-and-when-to-use-it-or-omit-it#answer-1471738
console.log("Selected "+objectId+" type "+spatialObject.type);