Example #1
0
        public FlyoverMapView(
            MKMapType mapType = MKMapType.Satellite,
            FlyoverCameraConfiguration configuration = null)
        {
            //this.Frame = CGRect.Empty; //super.init(frame: .zero)

            if (configuration == null)
            {
                configuration = new FlyoverCameraConfiguration(FlyoverCameraConfigurationTheme.Default);
            }
            FlyoverCamera = new FlyoverCamera(this, configuration);
            // Set flyover map type
            FlyoverMapType = mapType;
            // Hide compass on iOS
            ShowsCompass   = false;
            ShowsBuildings = true;
        }
Example #2
0
 public void Stop()
 {
     FlyoverCamera.Stop();
     UserInteractionEnabled = true;
 }
Example #3
0
 public void Start(Flyover flyover)
 {
     UserInteractionEnabled = false;
     FlyoverCamera.Start(flyover);
 }