protected virtual void OnTap(TapEventArgs e)
        {
            var handler = Tap;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Esempio n. 2
0
        private void Mapa_OnTap(object sender, TapEventArgs e)
        {
            var pin = new Pin
            {
                Type     = PinType.Place,
                Position = e.Position,
                Label    = "Cliked",
                Address  = e.Position.Latitude + " X " + e.Position.Latitude,
            };

            Mapa.Pins.Add(pin);
        }