Forum Xamarin Xamarin.iOS

Default google marker is distorted in xamarin ios

VarunBabuSVarunBabuS INMember ✭✭✭

I am using default google marker but the info window is getting cropped occasionally. Below is the code
var someMarker = new Marker();
someMarker.Title = "hi";
someMarker.Snippet = "hellp";
someMarker.Icon = UIImage.FromBundle("someimage.png");
someMarker.Position = new CLLocationCoordinate2D(.Lat, .Lng);
someMarker.Map = mapView;
mapView.SelectedMarker = someMarker;

Most of the time the info window renders properly. Occasionally the infowindow looks shrinker(squeezed) .

Can anyone tell what is the solution for this?

Thanks in advance.


  • JGoldbergerJGoldberger USMember, Forum Administrator, Xamarin Team, University Xamurai
    edited August 2018


    What exactly is getting cropped? The image? The text? Can you provide some more exact steps to reproduce the issue as I am not able to reproduce the issue at all. Better yet can you provide a simple test project that has no sensitive, private code or data that demonstrates the issue with steps to reproduce?

Sign In or Register to comment.