1 implementation of IMapPin
Microsoft.Maui.Controls.Maps (1)
HandlerImpl\Pin.Impl.cs (1)
5 public partial class Pin : IMapPin
22 references to IMapPin
Microsoft.Maui.Controls.Maps (4)
HandlerImpl\Map.Impl.cs (3)
8 public partial class Map : IMap, IEnumerable<IMapPin> 12 IList<IMapPin> IMap.Pins => _pins.Cast<IMapPin>().ToList();
Map.cs (1)
184 public IEnumerator<IMapPin> GetEnumerator()
Microsoft.Maui.Maps (18)
Core\IMap.cs (1)
44 IList<IMapPin> Pins { get; }
Handlers\MapPin\IMapPinHandler.cs (1)
18 new IMapPin VirtualView { get; }
Handlers\MapPin\MapPinHandler.cs (6)
18 public static IPropertyMapper<IMapPin, IMapPinHandler> Mapper = new PropertyMapper<IMapPin, IMapPinHandler>(ElementMapper) 20 [nameof(IMapPin.Location)] = MapLocation, 21 [nameof(IMapPin.Label)] = MapLabel, 22 [nameof(IMapPin.Address)] = MapAddress, 35 IMapPin IMapPinHandler.VirtualView => VirtualView;
Handlers\MapPin\MapPinHandler.iOS.cs (4)
8 public partial class MapPinHandler : ElementHandler<IMapPin, IMKAnnotation> 12 public static void MapLocation(IMapPinHandler handler, IMapPin mapPin) 18 public static void MapLabel(IMapPinHandler handler, IMapPin mapPin) 24 public static void MapAddress(IMapPinHandler handler, IMapPin mapPin)
Platform\iOS\MauiMKMapView.cs (6)
107 foreach (IMapPin pin in pins) 197 var pin = GetPinForAnnotation(annotation!); 216 IMapPin GetPinForAnnotation(IMKAnnotation annotation) 218 IMapPin targetPin = null!; 224 var pin = map.Pins[i]; 262 var targetPin = GetPinForAnnotation(annotation);