You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Bing Maps standard opens on 100%: .react-bingmaps{ width: 100%; height: 100% }
The % unit is always relative to some value. I guess that in your case the % is relative to another div that has no explicit height set, so it defaults to 'auto'.
Creating an wrapper div with an explicit height fixed my case.
So my render function: <div className={styles.container}> <ReactBingmaps bingmapKey="myKey" /> </div>
`import React, { Component } from 'react';
import { ReactBingmaps } from 'react-bingmaps';
class BingMaps extends Component {
<ReactBingmaps
}
export default BingMaps;
`
The text was updated successfully, but these errors were encountered: