Multiple line or break line in .snippet (google maps apiv2)

后端 未结 3 1886
Happy的楠姐
Happy的楠姐 2020-12-05 20:45

I\'m developing in google maps APIv2. The issue that I\'m facing now is I only able to add in one line of word in info windows/snippet. But the output that I want is able to

3条回答
  •  感动是毒
    2020-12-05 21:10

    You will have to use InfoWindowAdapter to create custom info windows. The default implementation somehow removes newlines from snippet, which might be considered a minor bug.

提交回复
热议问题