How to provide custom Maneuver Icon in HERE Maps Android premium sdk?
up vote
0
down vote
favorite
I need to provide my own arrow icons as mentioned in https://developer.here.com/documentation/android-premium/api_reference_java/com/here/android/mpa/routing/Maneuver.Icon.html
but I don't get a clue on how to do that.
I started navigation for calculated MapRoute with NavigationManager and got Maneuver object.Can someone help me how to add arrow icon in map. Thanks!
NavigationManager navigationManager = NavigationManager.getInstance();
navigationManager.setMap(mMap);
navigationManager.addNewInstructionEventListener(new WeakReference<>(new NavigationManager.NewInstructionEventListener() {
@Override
public void onNewInstructionEvent() {
super.onNewInstructionEvent();
navigationManager.getNextManeuver();// Maneuver
// how to set icon to this maneuver??
}
}));
navigationManager.startNavigation(mapRoute.getRoute());
android navigation maps here-api
add a comment |
up vote
0
down vote
favorite
I need to provide my own arrow icons as mentioned in https://developer.here.com/documentation/android-premium/api_reference_java/com/here/android/mpa/routing/Maneuver.Icon.html
but I don't get a clue on how to do that.
I started navigation for calculated MapRoute with NavigationManager and got Maneuver object.Can someone help me how to add arrow icon in map. Thanks!
NavigationManager navigationManager = NavigationManager.getInstance();
navigationManager.setMap(mMap);
navigationManager.addNewInstructionEventListener(new WeakReference<>(new NavigationManager.NewInstructionEventListener() {
@Override
public void onNewInstructionEvent() {
super.onNewInstructionEvent();
navigationManager.getNextManeuver();// Maneuver
// how to set icon to this maneuver??
}
}));
navigationManager.startNavigation(mapRoute.getRoute());
android navigation maps here-api
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I need to provide my own arrow icons as mentioned in https://developer.here.com/documentation/android-premium/api_reference_java/com/here/android/mpa/routing/Maneuver.Icon.html
but I don't get a clue on how to do that.
I started navigation for calculated MapRoute with NavigationManager and got Maneuver object.Can someone help me how to add arrow icon in map. Thanks!
NavigationManager navigationManager = NavigationManager.getInstance();
navigationManager.setMap(mMap);
navigationManager.addNewInstructionEventListener(new WeakReference<>(new NavigationManager.NewInstructionEventListener() {
@Override
public void onNewInstructionEvent() {
super.onNewInstructionEvent();
navigationManager.getNextManeuver();// Maneuver
// how to set icon to this maneuver??
}
}));
navigationManager.startNavigation(mapRoute.getRoute());
android navigation maps here-api
I need to provide my own arrow icons as mentioned in https://developer.here.com/documentation/android-premium/api_reference_java/com/here/android/mpa/routing/Maneuver.Icon.html
but I don't get a clue on how to do that.
I started navigation for calculated MapRoute with NavigationManager and got Maneuver object.Can someone help me how to add arrow icon in map. Thanks!
NavigationManager navigationManager = NavigationManager.getInstance();
navigationManager.setMap(mMap);
navigationManager.addNewInstructionEventListener(new WeakReference<>(new NavigationManager.NewInstructionEventListener() {
@Override
public void onNewInstructionEvent() {
super.onNewInstructionEvent();
navigationManager.getNextManeuver();// Maneuver
// how to set icon to this maneuver??
}
}));
navigationManager.startNavigation(mapRoute.getRoute());
android navigation maps here-api
android navigation maps here-api
asked Nov 9 at 7:37
Jegan Babu
72117
72117
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
The Maneuver class in the HERE Mobile SDK contains an enum attribute called Icon. The Icon contains a description of the maneuver but does not provide a visual representation. You can collect your own representation(images) and display it on the map based on the enum set.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
The Maneuver class in the HERE Mobile SDK contains an enum attribute called Icon. The Icon contains a description of the maneuver but does not provide a visual representation. You can collect your own representation(images) and display it on the map based on the enum set.
add a comment |
up vote
1
down vote
The Maneuver class in the HERE Mobile SDK contains an enum attribute called Icon. The Icon contains a description of the maneuver but does not provide a visual representation. You can collect your own representation(images) and display it on the map based on the enum set.
add a comment |
up vote
1
down vote
up vote
1
down vote
The Maneuver class in the HERE Mobile SDK contains an enum attribute called Icon. The Icon contains a description of the maneuver but does not provide a visual representation. You can collect your own representation(images) and display it on the map based on the enum set.
The Maneuver class in the HERE Mobile SDK contains an enum attribute called Icon. The Icon contains a description of the maneuver but does not provide a visual representation. You can collect your own representation(images) and display it on the map based on the enum set.
answered Nov 9 at 9:49
HERE Developer Support
866169
866169
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53221533%2fhow-to-provide-custom-maneuver-icon-in-here-maps-android-premium-sdk%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown