1 implementation of IMap
Microsoft.Maui.Controls.Maps (1)
HandlerImpl\Map.Impl.cs (1)
8
public partial class Map :
IMap
, IEnumerable<IMapPin>
38 references to IMap
Microsoft.Maui.Controls.Maps (10)
HandlerImpl\Map.Impl.cs (5)
10
IList<IMapElement>
IMap
.Elements => _mapElements.Cast<IMapElement>().ToList();
12
IList<IMapPin>
IMap
.Pins => _pins.Cast<IMapPin>().ToList();
14
void
IMap
.Clicked(Location location) => MapClicked?.Invoke(this, new MapClickedEventArgs(location));
16
MapSpan?
IMap
.VisibleRegion
36
Handler?.Invoke(nameof(
IMap
.MoveToRegion), _lastMoveToRegion);
Map.cs (5)
202
Handler?.Invoke(nameof(
IMap
.MoveToRegion), _lastMoveToRegion);
234
Handler?.UpdateValue(nameof(
IMap
.Pins));
239
Handler?.UpdateValue(nameof(
IMap
.Elements));
308
Handler?.UpdateValue(nameof(
IMap
.Pins));
323
Handler?.UpdateValue(nameof(
IMap
.Pins));
Microsoft.Maui.Maps (28)
Handlers\Map\IMapHandler.cs (1)
18
new
IMap
VirtualView { get; }
Handlers\Map\MapHandler.cs (13)
18
public static IPropertyMapper<
IMap
, IMapHandler> Mapper = new PropertyMapper<
IMap
, IMapHandler>(ViewHandler.ViewMapper)
20
[nameof(
IMap
.MapType)] = MapMapType,
21
[nameof(
IMap
.IsShowingUser)] = MapIsShowingUser,
22
[nameof(
IMap
.IsScrollEnabled)] = MapIsScrollEnabled,
23
[nameof(
IMap
.IsTrafficEnabled)] = MapIsTrafficEnabled,
24
[nameof(
IMap
.IsZoomEnabled)] = MapIsZoomEnabled,
25
[nameof(
IMap
.Pins)] = MapPins,
26
[nameof(
IMap
.Elements)] = MapElements,
30
public static CommandMapper<
IMap
, IMapHandler> CommandMapper = new(ViewCommandMapper)
32
[nameof(
IMap
.MoveToRegion)] = MapMoveToRegion,
46
IMap
IMapHandler.VirtualView => VirtualView;
50
public static void MapUpdateMapElement(IMapHandler handler,
IMap
map, object? arg)
Handlers\Map\MapHandler.iOS.cs (9)
10
public partial class MapHandler : ViewHandler<
IMap
, MauiMKMapView>
34
public static void MapMapType(IMapHandler handler,
IMap
map)
50
public static void MapIsShowingUser(IMapHandler handler,
IMap
map)
62
public static void MapIsScrollEnabled(IMapHandler handler,
IMap
map)
67
public static void MapIsTrafficEnabled(IMapHandler handler,
IMap
map)
72
public static void MapIsZoomEnabled(IMapHandler handler,
IMap
map)
77
public static void MapPins(IMapHandler handler,
IMap
map)
82
public static void MapElements(IMapHandler handler,
IMap
map)
88
public static void MapMoveToRegion(IMapHandler handler,
IMap
map, object? arg)
Platform\iOS\MauiMKMapView.cs (2)
220
IMap
map = handler?.VirtualView!;
285
var
map = handler?.VirtualView;
Primitives\MapType.cs (3)
9
/// Shows the <see cref="
IMap
" /> as a schematic overview of all roads, streets, etc.
14
/// Shows the <see cref="
IMap
" /> with satellite imagery.
19
/// Shows the <see cref="
IMap
" /> with satellite imagery and a street map overlay.