地图上呼吸灯效果圆形动画(⾃⽤备忘)
做中学初始化: final Animation animationVoice =
AnimationUtils.loadAnimation(this,R.anim.voice_button_anim);voice_back.startAnimation(animationVoice);
资源⽂件:anim⽂件:
关于书法的故事动态计算地图坐标进⾏转换位置变化:
mSceneView.addViewpointChangedListener(new ViewpointChangedListener() {
@Override
public void viewpointChanged(ViewpointChangedEvent viewpointChangedEvent) {
苹果id锁for (int i = 0; i < Source().getGraphicsOverlays().size(); i++) {
我们去远方if (Source().getGraphicsOverlays().get(i) == mGraphicsOverlay) {
带乐字的男孩名字
voice_back.tVisibility(View.VISIBLE);
空气教案
LocationToScreenResult point = mSceneView.locationToScreen((Point) Source().getGraphicsOverlays().get(i).ge voice_back.tAnimation(animationVoice);
WidgetController.tLayout(voice_back, ScreenPoint().x, ScreenPoint().y);
voice_back.tAnimation(animationVoice);
山乡村野
Log.e("hsjdahdapoint", ScreenPoint().x + "");
}
}
蜜蜂虾}
});
复制代码
WidgetController.tLayout(voice_back, ScreenPoint().x, ScreenPoint().y);