简体   繁体   中英

Change view on InfoWindowClick on Xamarin Forms

I'm Having a problem where I need to change the View When I click on the Info Window on a google map in the renderer. I'm currently doing nothing when it gets clicked but I need to Change the View To Show More Details about the Pin. I just can't find any documentation to help with this and can't seem to figure it out.

Any help Appreciated.

You can try this:

googleMap.InfoWindowClicked += async (sender, e) =>{
     //put your navigation code here
     await Navigation.PushAsync(new NextView()); //replace this with your code
};

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM