如何解决如何使用传单获取地图的正方形?
我正在使用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://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
attribution='© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
/>
</Map>
</div>
我使用了div,但是我不知道如何获得平方...
能帮我吗?
谢谢!
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。