Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Xamarin Shell maps - Custom renderer gets deleted when navigating to another page

ViikkiViikki USMember ✭✭

I am using Forms.maps in my application and just switched to shell. I am using maps custom renderer. At least in Android I am having problem that when i select another shell content i.e. when i go to another page, the maps itself stays there but map's custom renderer get deleted. Is there any solution to this problem? Currently i have to recreate my maps control when coming back to maps page.


  • LandLuLandLu Member, Xamarin Team Xamurai

    What do you mean about "map's custom renderer get deleted"?
    When the page redisplayed on the screen the custom renderer's OnElementChanged will be called.
    You could handle it to modify the configuration.

Sign In or Register to comment.