Using Xamarin.form.GoogleMap Library
hey guys, how i make custom message box for google map pin in xamarin forms?
like when i tapped on pin the my location and all other details show me ---->> how to make this custom ??
Have you tried this approach:https://forums.xamarin.com/discussion/comment/368781/#Comment_368781
Change the info window on each platform.
@LandLu Thank You for this link
can you send me any other links or references? ,
In this link , he make pin with google map but i only need message box of pin, my google map is ready in my .Xml file.
i only need pin message box.
Do you mean the customization on Android?
Have you taken a look at this method:
public Android.Views.View GetInfoContents (Marker marker)
It changes the info window there.
I write this code but could not access the function.(Here, define this function on mainactivity.cs file.)
how i use this function ? Can you share any working code ?
This code should be put in the maprenderer:
public class CustomMapRenderer : MapRenderer, GoogleMap.IInfoWindowAdapter
Did you read the workarounds on iOS and Android?
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies