Google-maps-react: I have write style in line in map but . I have a overflow div from map

Created on 19 Aug 2017  路  1Comment  路  Source: fullstackreact/google-maps-react

How can i do to ereas height 100% this div ?
2017-08-20

Most helpful comment

A bit late I know but thought I would put this here anyway as I struggled with this. If I understand you correctly you can just use containerStyle.

The code below limits the height by 250px

<Map
 google={this.props.google}
 containerStyle={{width: '100%', height: '250px', position: 'relative'}}
 zoom={14}
 initialCenter={this.props.center}
 >

>All comments

A bit late I know but thought I would put this here anyway as I struggled with this. If I understand you correctly you can just use containerStyle.

The code below limits the height by 250px

<Map
 google={this.props.google}
 containerStyle={{width: '100%', height: '250px', position: 'relative'}}
 zoom={14}
 initialCenter={this.props.center}
 >
Was this page helpful?
0 / 5 - 0 ratings

Related issues

EmmaU25 picture EmmaU25  路  3Comments

lishi500 picture lishi500  路  4Comments

ranleung picture ranleung  路  4Comments

joeyfigaro picture joeyfigaro  路  3Comments

mruoss picture mruoss  路  5Comments