private void TapDeportes_Tapped(object sender, EventArgs e) { try { map.Pins.Clear(); Iservicios myServices = DependencyService.Get <Iservicios>(); List <Model.clsEquipo> equipo = myServices.getEquipo(); foreach (Model.clsEquipo obclsEquipo in equipo) { var position = new Position(Convert.ToDouble(obclsEquipo.stLatitud), Convert.ToDouble(obclsEquipo.stLongitud)); // Latitude, Longitude pin = new Pin { Type = PinType.Place, Position = position, Label = obclsEquipo.stNombre, Address = "Descripcion: " + obclsEquipo.stDescripcion, BindingContext = AnchorX }; pin.Clicked += Pin_Clicked; map.Pins.Add(pin); } trueorfalse(); } catch (Exception ew) { throw ew; } }