I want the string in my snippet to be aligned to the center.
Also, line breakers (\n) in the snippet are converted to spaces, is there a way to insert line breakers?
My relevant code:
GoogleMap map = ...
map.addMarker(new MarkerOptions().position(pos)
.title("title")
.snippet("body \n and mind");
Thanks
Using some examples, as well as answers from: custom info window adapter with custom data in map v2, I've come across the following solution:
marker.xml
Java: