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