public Double getCurrentAltitude() { View view = this.getWWd().getView(); return view != null ? view.getEyePosition().getElevation() : null; }