google maps v3 change size of infowindow

前端 未结 6 1621
盖世英雄少女心
盖世英雄少女心 2021-02-04 14:25

I would like to set the size of an infowindow to fit the content inside. The standard infowindow is too wide I tried to use maxWidth but it doesn\'t seem to work. What is the be

6条回答
  •  鱼传尺愫
    2021-02-04 14:38

    please take a look at following API references and examples:

    Google Map V3 Examples: https://developers.google.com/maps/documentation/javascript/examples/

    Google Map V3 API Ref: https://developers.google.com/maps/documentation/javascript/reference#MapOptions

提交回复
热议问题