0

如何在 MapQuest 的 InfoWindow 中插入新的 l​​in 或换行符。我努力了 :

\n

\r\n

<br />

没有任何效果。请帮忙。

4

1 回答 1

0
<br/> should work, as in this example: poi.setInfoContentHTML('Home of the Denver <br/> Broncos');

希望这会有所帮助——不知道有什么问题。如果您发布示例代码,我可能会提供帮助!

于 2013-10-26T01:05:35.557 回答