The problem is that the presentation server converts the HTML br symbol to htmltext (& g t) so the google maps api doesn't regonise it.
This can be bypassed by using the javascript replace command:
comment.replace(/, /g," ,<> "));
(without the spaces)
the code to create the marker now would look like this:
var marker = createMarker(point,icon0,comment.replace(/, /g," <> "));
Till Next Time
No comments:
Post a Comment