Reactjs React单张地图显示开放式街道地图运输层
我在下面的URL显示的Tillelayer中使用React传单地图Reactjs React单张地图显示开放式街道地图运输层,reactjs,openstreetmap,react-leaflet,Reactjs,Openstreetmap,React Leaflet,我在下面的URL显示的Tillelayer中使用React传单地图 <TileLayer attribution='&copy <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" /> 它显示标准地图。但我想展示一下交通地图
<TileLayer
attribution='&copy <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
它显示标准地图。但我想展示一下交通地图
我如何做到这一点?有人能帮我吗?根据这个,你必须从我这里拿到瓷砖
https://tile.thunderforest.com/transport/{z} /{x}/{y}.png?apikey=
这个thunderforest是开源的吗?请自己做一些研究。据我所知,Thunderforest的渲染样式尚未打开。