Пример #1
0
        private void UserLocation(object sender, MKUserLocationEventArgs e)
        {
            MKMapView nativeMap = Control as MKMapView;
            // Create the camera
            MKMapCamera camera = new MKMapCamera
            {
                Pitch            = 80,
                CenterCoordinate = new CLLocationCoordinate2D(e.UserLocation.Location.Coordinate.Latitude, e.UserLocation.Location.Coordinate.Longitude),
                Altitude         = 100,
                Heading          = e.UserLocation.Heading.HeadingAccuracy,
            };

            nativeMap.SetCamera(camera, true);
        }