Custom Markers
The AMapNaviView consists of two layers: a map-based overlay layer and a UI control layer. The overlay layer uses the map as a container to draw elements such as the vehicle marker, start and end points, route lines, turn arrows, speed cameras, guide lines, and traffic lights based on route information. The UI control layer contains elements like junction views, light bars, overview buttons, and settings buttons. This guide covers customizing common markers. For other customizations, see:
Vehicle Marker

The vehicle marker in the driving navigation interface consists of two parts: a blue arrow icon and a compass direction icon. You can customize it using the AMapNaviViewOptions class with the following methods:
/**
* Sets the bitmap for the vehicle marker.
* @param carBitmap The vehicle marker bitmap.
*/
public void setCarBitmap(Bitmap carBitmap)
/**
* Sets the bitmap for the compass.
* @param fourCornersBitmap The compass bitmap.
*/
public void setFourCornersBitmap(Bitmap fourCornersBitmap)Start, End, and Waypoints

Customize the icons for the start point, end point, and waypoints using the AMapNaviViewOptions class. The following methods must be called before route calculation:
/**
* Sets the bitmap for the start point. Must be set before route calculation.
* @param icon The start point bitmap.
*/
public void setStartPointBitmap(Bitmap icon)
/**
* Sets the bitmap for the end point. Must be set before route calculation.
* @param icon The end point bitmap.
*/
public void setEndPointBitmap(Bitmap icon)
/**
* Sets the bitmap for waypoints during navigation. Must be set before route calculation.
* @param icon The waypoint bitmap.
*/
public void setWayPointBitmap(Bitmap icon)