NAXAM / mapbox-xamarin-forms

Mapbox on Xamarin.Forms
Apache License 2.0
73 stars 41 forks source link

Need to show marker with Label/Text #104

Open GnanaPriyaNamasivayam opened 3 years ago

GnanaPriyaNamasivayam commented 3 years ago

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.