Why is my Google maps marker width restricted?


I can't seem to adjust the size of the marker containing the text. I tried forcing the width and enabling nowrap but to no avail.

        ,boxStyle: {
            opacity: 0.75
            ,width: "280px"
            ,whiteSpace: "nowrap"

1 answer

  • answered 2018-05-16 05:34 PPL

    please give below css and check

    .infoBox {
        width: 270px!Important;
      max-width: none;