【发布时间】:2020-01-07 12:35:04
【问题描述】:
我正在尝试将符号从圆圈更改为位置图钉以突出显示地图上的坐标。但是,除了“圆圈”之外,符号选项中没有其他选项可以正常工作。 我已经尝试过 - 正方形、标记、三角形。有人可以告诉我如何解决这个问题,它不会引发错误
#Plotting co-ordinates on to the map
fig = go.Figure(go.Scattermapbox
(
lat=df["Latitude"],
lon=df["Longitude"],
mode='markers',
marker=go.scattermapbox.Marker
(
size=10,
color = df['Size'],
colorscale = 'RdYlGn_r',
showscale=True,
symbol = 'star'
)
)
【问题讨论】:
标签: python google-maps scatter-plot