您好,请问你们api中
这个是不是假的?(三维插件)
var lastCamera;//在初始化场景完毕后设置lastCamera = scene.get_firstPersonCamera(); SuperMap.Web.UI.Action3Ds.YourAction.prototype ={ dispose:function() { this._sceneControl = null; }, onMouseWheel:function(e){ var cameraCur = scene.get_firstPersonCamera(); if(cameraCur.get_altitude() > x){ scene.set_firstPersonCamera(lastCamera); } else{ lastCamera = cameraCur; } } };
类似于这样