Skip to content

infoWindow 텍스트 줄바꿈 문제 #66

@redundant4u

Description

@redundant4u
  • 마커를 탭 했을 때 나타나는 infoWindow 내용에 줄바꿈(\n)을 하고 싶은데 한 줄만 표시 되는 것 같습니다. 혹시 이에 대한 해결 방안이 있는지 궁금합니다.

  • code

Marker(
  markerId: 'test',
  position: LatLng(37.563153, 126.962190),
  alpha: 0.8,
  infoWindow: 'test\ntest',
)
Marker(
  markerId: 'test',
  position: LatLng(37.563153, 126.962190),
  alpha: 0.8,
  infoWindow: 'test',
)

위 두 코드 모두 밑 그림과 같이 나타납니다!

Screen Shot 2022-09-19 at 4 51 50 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions