loubnabnl HF staff BounharAbdelaziz commited on
Commit
af8a251
1 Parent(s): b38a158

Removed the spinner marker to not confuse the users (#16)

Browse files

- Removed the spinner marker to not confuse the users (ee172d13f537015effa90fe8c246749b3895c1ac)


Co-authored-by: Abdelaziz Bounhar <BounharAbdelaziz@users.noreply.huggingface.co>

Files changed (1) hide show
  1. src/utils.py +2 -2
src/utils.py CHANGED
@@ -59,9 +59,9 @@ def parse_latlng(latlng):
59
  return None
60
 
61
  def add_epicentre_to_map(map_obj):
 
62
  icon_epicentre = folium.plugins.BeautifyIcon(
63
- icon='spinner',
64
- spin=True,
65
  border_color='#b3334f',
66
  background_color='#b3334f',
67
  text_color='white'
 
59
  return None
60
 
61
  def add_epicentre_to_map(map_obj):
62
+ # Removed the spinner to not confuse the users as the map is already loaded
63
  icon_epicentre = folium.plugins.BeautifyIcon(
64
+ icon='star',
 
65
  border_color='#b3334f',
66
  background_color='#b3334f',
67
  text_color='white'