Hi, i am new on monotouch world. I have a error while compiling my project
with MKAnnotation:
ObjAnnotation.cs(18,18): Error CS0534: `MyAnnotation' does not implement
inherited abstract member `MonoTouch.MapKit.MKAnnotation.Coordinate.set'
(CS0534)

I use the class by conceptdev page MyAnnotation.

public class MyAnnotation : MKAnnotation
{
   private CLLocationCoordinate2D _coordinate;
   private string _title, _subtitle;
   public override CLLocationCoordinate2D Coordinate {
      get { return _coordinate; }
   }
   public override string Title {
      get { return _title; }
   }
   public override string Subtitle {
      get { return _subtitle; }
   }
   /// <summary>
   /// Need this constructor to set the fields, since the public
   /// interface of this class is all READ-ONLY
   /// <summary>
   public MyAnnotation (CLLocationCoordinate2D coord,
                            string t, string s) : base()
   {
      _coordinate=coord;
      _title=t; 
      _subtitle=s;
   }
}


What can i do?

Thanks to all

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/MKAnnotation-error-compiling-tp3801398p3801398.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to