var marker = new MarkerOptions(); marker.SetTitle(annotation.Title); marker.SetSnippet(annotation.SubTitle); marker.SetPosition(annotation.MarkerCoordinate.ToLatLng()); marker.SetIcon(IconFactory.GetInstance(Context).DefaultMarker());
My problem - the text I have given for SetTitle does not display on the marker. Do I miss something on the above line? Why title does not display on the marker?
Currently am checking in android. If you have any ideas/sample reference link for both Android & iOS, it will very helpful.
I have added each marker like below:
var marker = new MarkerOptions(); marker.SetTitle(annotation.Title); marker.SetSnippet(annotation.SubTitle); marker.SetPosition(annotation.MarkerCoordinate.ToLatLng()); marker.SetIcon(IconFactory.GetInstance(Context).DefaultMarker());
My problem - the text I have given for SetTitle does not display on the marker. Do I miss something on the above line? Why title does not display on the marker?
Currently am checking in android. If you have any ideas/sample reference link for both Android & iOS, it will very helpful.
As mentioned in this link(https://github.com/NAXAM/mapbox-xamarin-forms/issues/59#issuecomment-605654757), I also have the same issue.