public CustomPushPinWithToolTip(HeritageProperty item, MapOverlay overlay) { this.ParentOverlay = overlay; this.Item = item; this.Description = item.Name; InitializeComponent(); Loaded += UCCustomToolTip_Loaded; }
public HeritagePropertyAnnotation(HeritageProperty property) { this.Property = property; Title = property.Name; Coordinate = new CLLocationCoordinate2D(property.Latitude, property.Longitude); }