I am trying to create GoogleMap API Markers (pins). Here is the code I use:
Location location = lm.getLastKnownLocation(LocationManager.GPS_PROVIDER); longitude = location.getLongitude(); latitude = location.getLatitude(); LatLng newSession = new LatLng(latitude,longitude); mMap.addMarker(new MarkerOptions().position(newSession).title(myNameValue))
I have figured out how to add a title to the marker, however I would like to add a newline of text under it and have it display more information. When I try to do this the text box does not display the full text, as seen in the image attached. I have tried appending “/n” to the title, but the three dots still appear.
The left side of the image is what appears. The right side is the goal
Any solutions or work-arounds?