My map-based application works perfectly in the simulator, however when I executalo the IOS device (Debug or Release) the pins simply do not appear.
I tried to reduce the amount to 10 and yet to no avail.
Can someone help me?
if ( lQInfo.Count!=0) {
foreach (var item in lQInfo) {
var posPoint = new Position (Convert.ToDouble (item.Y), Convert.ToDouble (item.X));
var pin = new Pin () {
Position = posPoint,
Label = item.Value.ToString (),
Address =
item.Endereco.TrimEnd () + "\r :" +
item.IdPoint.ToString (),
Type = PinType.SearchResult
};
pin.Clicked += PinOnClicked;
Pins.Add (pin);
}
}
if (Pins.Count != 0) {
foreach (var item in Pins) {
map.Pins.Add (item);
}