Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Google Map marker title in Arabic showing blank

I am using Google Maps API v2 for Android, And I have used Marker class to add a marker to the map fragment like this:

map.addMarker(new MarkerOptions().position(new LatLng(23.599114, 39.203938))
            .title("عربي"));

but on the map it shows an empty title.

any ideas?

like image 689
ProPhotoMan Avatar asked Nov 15 '14 11:11

ProPhotoMan


1 Answers

I think it`s a bug, there is no a real solution until now, but you can add an unicode left-to-right mark to the title, something like this:

.title("\u200e" +"عربي")
like image 141
Abdullah AlHazmy Avatar answered Oct 06 '22 02:10

Abdullah AlHazmy