Skip to content

Commit

Permalink
removed clustering
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitfrisque committed Nov 10, 2024
1 parent 997343a commit 742d08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def create_map_observations(filtered_df, map_column_selected, zoom, center, map_

fig_map.update_traces(
opacity=0.7,
cluster=dict(enabled=True, maxzoom=8, size=[3, 10, 20, 30], step=[2, 8, 15, 20], opacity=0.7),
# cluster=dict(enabled=True, maxzoom=8, size=[3, 10, 20, 30], step=[2, 8, 15, 20], opacity=0.7),
hovertemplate= f"<b>{get_translation('observation_date', lang=lang).capitalize()}</b>: %{{hovertext}}<br>"
f"<b>{get_translation('latitude', lang=lang).capitalize()}</b>: %{{lat}}<br>"
f"<b>{get_translation('longitude', lang=lang).capitalize()}</b>: %{{lon}}<br>"
Expand Down

0 comments on commit 742d08f

Please sign in to comment.