You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iOS MapView is visible but crashes when calling a line "MapView.OverlayRenderer = (view, overlay) => new MKTileOverlayRenderer(overlay as MKTileOverlay);"
Steps to Reproduce
Go to a ViewController which contains MapKit's MKMapView and custom tile rendering with MKTileOverlayRenderer as OverlayRenderer.
Experience the crash when code proceeds to the line where new MKTileOverlayRenderer is set to MapView.OverlayRenderer.
Did you find any workaround?
Remove the creation line of MKTileOverlayRenderer "MapView.OverlayRenderer = (view, overlay) => new MKTileOverlayRenderer(overlay as MKTileOverlay);". But then, of course, MKMapView will not show tiles on top of the map.
Relevant logs
No response
The text was updated successfully, but these errors were encountered:
Hi @Evige. We have added the "need-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/xamarin/xamarin-macios/blob/main/docs/bug-repro.md
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
Apple platform
iOS
Framework version
net8.0-*
Affected platform version
VS 2022 17.12.2 Xamarin.iOS 16.4.02.3
Description
iOS MapView is visible but crashes when calling a line "MapView.OverlayRenderer = (view, overlay) => new MKTileOverlayRenderer(overlay as MKTileOverlay);"
Steps to Reproduce
Did you find any workaround?
Remove the creation line of MKTileOverlayRenderer "MapView.OverlayRenderer = (view, overlay) => new MKTileOverlayRenderer(overlay as MKTileOverlay);". But then, of course, MKMapView will not show tiles on top of the map.
Relevant logs
No response
The text was updated successfully, but these errors were encountered: