Esempio n. 1
0
 public FlyoverMapView(
     MKMapType mapType = MKMapType.Satellite,
     FlyoverCameraConfiguration configuration = null)
 {
     //this.Frame = CGRect.Empty; //super.init(frame: .zero)
     // Set flyover map type
     FlyoverMapType = mapType;
     if (configuration == null)
     {
         configuration = new FlyoverCameraConfiguration(FlyoverCameraConfigurationTheme.Default);
     }
     FlyoverCamera = new FlyoverCamera(this, configuration);
     // Hide compass on iOS
     ShowsCompass   = false;
     ShowsBuildings = true;
 }
Esempio n. 2
0
 public void Stop()
 {
     FlyoverCamera.Stop();
     UserInteractionEnabled = true;
 }
Esempio n. 3
0
 public void Start(Flyover flyover)
 {
     UserInteractionEnabled = false;
     FlyoverCamera.Start(flyover);
 }