How to rotate image placed on a Mapcontrol
问题 The issue I've got an application that tracks vehicles on a map. However I cannot get the little buggers to rotate in the direction of their motion. Basically, all of them are going sideways! Ugh! The code Image vehicleImage = new Image { //Set image size and source }; RenderTransform rotation= new RotateTransform{Angle = X}; vehicleImage.RenderTransfrom = rotation; _mainMap.Children.Add(vehicleImage); MapControl.SetLocation(vehicleImage, _position); The Image, placed on the map, seems to