Skip to content Skip to sidebar Skip to footer

Here-SDK: How To Show The Default HereWeGo-Positionindicator?

How do i show the standard PositionIndicator from the HereWeGo-App in my MapActivity? This one: When i use this Code: mPositioningManager = PositioningManager.getInstance() mPos

Solution 1:

If you want to use image than do like below

Image img_current_location = new Image();
img_current_location.setImageResource(R.drawable.custom_img);

after that set on PositionIndicator.

Map.getPositionIndicator().setMarker(img_current_location);

And if you dont want to use image at all than create compass header. sample example can downloaded from the below link.

https://tcs.ext.here.com/sdk_examples/CustomPositionMarker.zip

some discussion can be found on this post.

It does not fit in your requirement but you can modify it.


Post a Comment for "Here-SDK: How To Show The Default HereWeGo-Positionindicator?"