我Python
用于在地图上绘制地理空间数据。对于某些地图样式,例如["basic", "streets", "outdoors", "light", "dark", "satellite", "satellite-streets"]
,我需要一个 mapbox 访问令牌,对于一些地理空间绘图包,我folium
什至需要创建自己的链接来检索地图图块。
到目前为止,它的风格效果很好"satellite"
:
mapbox_style = "satellite"
mapbox_access_token = "....blabla"
request_link = f"https://api.mapbox.com/v4/mapbox.{mapbox_style}/{{z}}/{{x}}/{{y}}@2x.jpg90?access_token={mapbox_access_token}"
However, when choosing "satellite-streets"
as mapbox-tile-ID, the output doesn't show a background map anymore. "satellite-streets", "satellitestreets" and "satellite_streets"
插入上述链接字符串失败。
为什么会这样,我怎样才能知道正确的 tile-ID-name 是"satellite-streets"
什么?