首页 / 浏览问题 / 移动GIS / 问题详情
超图FAQ:【iMobile】移动端添加了CallOut 并设置了自定义图片,如何控制图片方向
43,901EXP 2023年08月07日
【iMobile】移动端添加了CallOut 并设置了自定义图片,如何控制图片方向

1个回答

【解决办法】callout中没有该接口,但是callout.setContentView的参数是android.view.View contentView,view的设置旋转方法有以下几种: //设置View在Z轴上的旋转角度 public void android.view.View.setRotation(float rotation //设置View在X轴上的旋转角度 public void android.view.View.setRotationX(float rotationX) //设置View在Y轴上的旋转角度 public void android.view.View.setRotationY(float rotationY) //设置View旋转中心点的X坐标。 public void android.view.View.setPivotX(float pivotX) //设置View旋转中心点的Y坐标。 public void android.view.View.setPivotX(float pivotX) //设置摄像机的与旋转目标在Z轴上距离 void android.view.View.setCameraDistance(float distance)
43,901EXP 2023年08月07日
热门文章
关注我们
...