protected virtual void OnTap(MapTapEventArgs e) { var handler = Tapped; if (handler != null) { handler(this, e); } }
private void Map_Tapped(object sender, MapTapEventArgs e) { var newPin = new Pin { Type = PinType.Place, Position = e.Position, Label = "Custome Location" //,Address = "custom detail info" }; map.Pins.Add(newPin); lstPin.Add(newPin); }