1 implementation of IMapHandler
Microsoft.Maui.Maps (1)
Handlers\Map\MapHandler.cs (1)
16
public partial class MapHandler :
IMapHandler
24 references to IMapHandler
Microsoft.Maui.Controls.Maps (1)
Map.cs (1)
263
Handler?.Invoke(nameof(Maui.Maps.Handlers.
IMapHandler
.UpdateMapElement), args);
Microsoft.Maui.Maps (23)
Handlers\Map\MapHandler.cs (7)
18
public static IPropertyMapper<IMap,
IMapHandler
> Mapper = new PropertyMapper<IMap,
IMapHandler
>(ViewHandler.ViewMapper)
30
public static CommandMapper<IMap,
IMapHandler
> CommandMapper = new(ViewCommandMapper)
33
[nameof(
IMapHandler
.UpdateMapElement)] = MapUpdateMapElement,
46
IMap
IMapHandler
.VirtualView => VirtualView;
48
PlatformView
IMapHandler
.PlatformView => PlatformView;
50
public static void MapUpdateMapElement(
IMapHandler
handler, IMap map, object? arg)
Handlers\Map\MapHandler.iOS.cs (8)
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 (8)
15
WeakReference<
IMapHandler
> _handlerRef;
19
public MauiMKMapView(
IMapHandler
handler)
21
_handlerRef = new WeakReference<
IMapHandler
>(handler);
100
_handlerRef.TryGetTarget(out
IMapHandler
? handler);
212
if (_handlerRef.TryGetTarget(out
IMapHandler
? handler) && handler?.VirtualView != null)
219
_handlerRef.TryGetTarget(out
IMapHandler
? handler);
284
_handlerRef.TryGetTarget(out
IMapHandler
? handler);
317
if (mauiMkMapView._handlerRef.TryGetTarget(out
IMapHandler
? handler))