What steps will reproduce the problem?
1. put a long string that contains new line chars to description (constructor
arg) of the OverlayItem
ie: new OverlayItem("Title",
"First sentence.\nSecond sentence.\nThird sentence.\nFourth sentence.", _geoPoint)
What is the expected output? What do you see instead?
Text in the description field (green buble above the map) is badly formatted
What version of the product are you using? On what operating system?
3.0.5, win 7 sp1 x64
Please provide any additional information below.
It looks like when osmdroid is about to show the bubble overlay it judges the
width of the input string but not considers the new line characters, it then
proceeds to insert it's own line breaks, this results in badly formatted result
as the bubble is unnecessarily wide (proly some internal maximum width) and the
lines are cut off at random places.
This is really bugging me, can someone help/fix pretty pls?
Original issue reported on code.google.com by inem...@gmail.com on 23 Dec 2011 at 12:03
Original issue reported on code.google.com by
inem...@gmail.com
on 23 Dec 2011 at 12:03