Instance Property

mapAnnotationImage

The image to use for the vehicle when displaying its position on the map.

Declaration

@NSCopying var mapAnnotationImage: INImage? { get set }

Discussion

The image you provide should be a top-down image of your vehicle, and the front of the vehicle should be at the top of your image. When added to the map, Maps centers the image on the vehicle’s location. Maps rotates the image to match the current direction in which the vehicle is going.

See Also

Specifying the Vehicle’s Location

var location: CLLocation?

The most recent location of the vehicle.