python - plotly scattermapbox 位置图钉示例 | 如何在 scattermapbox 中添加位置图钉
问题描述
我正在使用 scattermapbox 并且我正在使用标记 -> 圆圈,我需要使用谷歌地图中显示的位置图钉。你能提供一个应该使用什么符号的例子吗?
fig = go.Figure(go.Scattermapbox(
lat=df["Latitude"],
lon=df["Longitude"],
mode='markers',
marker=go.scattermapbox.Marker(
size=10,
color = df['Size'],
colorscale = scl# This is used to match the color scale
),
))
解决方案
推荐阅读
- javascript - 在 ReactJS 中,如何在另一个组件中渲染一个组件?
- scala - Spark CSV阅读器:日文文本乱码并处理多行
- python-3.x - Aws cloudwatch 日志 getQueryResults 在尝试使用 boto3 时返回空
- python - 突然收到错误 pywintypes.com_error MAPI-error-number: 80004001。发生了什么?
- flutter - 颤振飞镖正则表达式,通过实际路线获取路线名称
- python - Python:从 .txt 文件目录创建文件列表
- java - Java - 让运行时使用所有可用的 RAM
- c# - GetAccessTokenAsync 静默失败,无法在调试器中捕获问题
- webpack - 如何不将 CSS 提取到 vue-cli3 中的单独文件中?
- django - Django模型添加uuid