Skip to content Skip to sidebar Skip to footer

Nokia HERE Sdk - How To Orient Map?

In GoogleMaps if you want to change the orientation of the map you change the bearing of the 'camera' being used as perspective of the map. How do I re-orient a Nokia HERE sdk map?

Solution 1:

The map can be orientated in any direction. By default, the orientation is in a true North position. The following code changes the orientation to South-up:

// Rotate 180 degrees.
map.setOrientation(180);

// Get the orientation, should be 180.
float orientation = map.getOrientation();

Source: https://developer.here.com/mobile-sdks/documentation/android-hybrid-plus/topics/maps.html


Post a Comment for "Nokia HERE Sdk - How To Orient Map?"