Here API offset map center

北城以北 提交于 2019-12-04 14:34:08

Set the transform center of the map at the screen position where you want the user position to be at. That is how we accomplish it.

to achive navigation look and view set transform center to lower than center

PointF pc = m_map.getTransformCenter();
PointF pointF = new PointF(pc.x,pc.y* 85/50);
m_map.setTransformCenter(pointF);
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!