Skip to content

Styles don't work on Map component.  #2

@koala-lava

Description

@koala-lava
<Map onAPIAvailable={function () { console.log('API loaded'); }} center={[51.70858418, 94.43314205]} zoom={17} style={{
                width: '100%',
                height: '200px'
            }}>
                <Marker lat={this.props.lat} lon={this.props.lon} />
 </Map>

Used style prop. How can I style this Map component? I mean hardcoded width and height is not an option for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions