Skip to content Skip to sidebar Skip to footer

Here Api Offset Map Center

I'm using the Here Android SDK API. I set position indicator via: positionManager.start(PositioningManager.LocationMethod.GPS_NETWORK); map.getPositionIndicator().setVisible(true);

Solution 1:

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.

Solution 2:

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

PointFpc= m_map.getTransformCenter();
PointFpointF=newPointF(pc.x,pc.y* 85/50);
m_map.setTransformCenter(pointF);

Post a Comment for "Here Api Offset Map Center"