Html 如何使用传单为我的地图获得一个正方形?
我正在使用react js,我希望在渲染中有一个正方形而不是矩形:Html 如何使用传单为我的地图获得一个正方形?,html,css,reactjs,leaflet,react-leaflet,Html,Css,Reactjs,Leaflet,React Leaflet,我正在使用react js,我希望在渲染中有一个正方形而不是矩形: <div class="row" style={{marginTop: 40, marginLeft: 80, marginRight: 80, marginBottom: 200}}> <Map center={[43.6, 3.8833]} zoom={12}> <TileLayer url="https://
<div class="row" style={{marginTop: 40, marginLeft: 80, marginRight: 80, marginBottom: 200}}>
<Map center={[43.6, 3.8833]} zoom={12}>
<TileLayer
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
attribution='© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
/>
</Map>
</div>
我用一个div,但我不知道如何得到一个正方形
你能帮我吗
谢谢大家!