public SKMapOverlayRenderer(MKMapView mapView, SKMapOverlay sharedOverlay, IMKOverlay overlay) : base(overlay) { _SharedOverlay = sharedOverlay; _NativeMap = mapView; _overlayDirtySubscription = _SharedOverlay.WeakSubscribe <SKMapOverlay, MapOverlayInvalidateEventArgs>(nameof(_SharedOverlay.RequestInvalidate), MarkOverlayDirty); }
public OverlayTrackerTileProvider(Context context, GoogleMap nativeMap, SKMapOverlay sharedOverlay) { _Context = context; _NativeMap = nativeMap; SharedOverlay = sharedOverlay; _overlayDirtySubscription = SharedOverlay.WeakSubscribe <SKMapOverlay, MapOverlayInvalidateEventArgs>(nameof(SharedOverlay.RequestInvalidate), MarkOverlayDirty); }