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.

Answers

  • 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.