【发布时间】:2020-12-01 07:23:11
【问题描述】:
似乎可用于 scattermapbox 的图标列表是有限的。我正在尝试使用此处列表中的图标:https://labs.mapbox.com/maki-icons/,但是,似乎有些不可用。
我检查了 plotly scattermapbox 文档,看起来它们应该可以工作:https://plotly.com/python/reference/#scattermapbox-marker-symbol。所以,我不确定缺少什么。
# Property Location
data.append({
"type": "scattermapbox",
"lat": [Lat],
"lon": [Long],
"hovertext": price,
"text": "Asking rent ${} SF/YR".format(price),
"textfont": {"size": 22},
"textposition": "top-right",
"showlegend": False,
"hoverinfo": "text",
"mode": "text+markers",
"marker": {
"symbol": "industry",
"size": 28,
"opacity": 0.7
}
}
)
【问题讨论】:
标签: plotly mapbox plotly-dash