function markerColor(mag) {
  if (mag <= 1) {
      return "#ADFF2F";
  } else if (mag <= 2) {
      return "#9ACD32";
  } else if (mag <= 3) {
      return "#FFFF00";
  } else if (mag <= 4) {
      return "#ffd700";
  } else if (mag <= 5) {
      return "#FFA500";
  } else {
      return "#FF0000";
  };
}
// Function to handle marker change colors

Function to handle marker change colors
Function to handle marker change colors
function markerColor(mag) {
  if (mag <= 1) {
      return "#ADFF2F";
  } else if (mag <= 2) {
      return "#9ACD32";
  } else if (mag <= 3) {
      return "#FFFF00";
  } else if (mag <= 4) {
      return "#ffd700";
  } else if (mag <= 5) {
      return "#FFA500";
  } else {
      return "#FF0000";
  };
}
function markerColor ( mag ) { if ( mag <= 1 ) { return "#ADFF2F" ; } else if ( mag <= 2 ) { return "#9ACD32" ; } else if ( mag <= 3 ) { return "#FFFF00" ; } else if ( mag <= 4 ) { return "#ffd700" ; } else if ( mag <= 5 ) { return "#FFA500" ; } else { return "#FF0000" ; } ; }
Function to handle marker change colors
Function to handle marker change colors