Earthquakes_past7days/static/js/logicStep4.js
// to calculate the color and radius.
to calculate the color and radius.
to calculate the color and radius .
function styleInfo(feature) {
  return {
    opacity: 1,
    fillOpacity: 1,
    fillColor: getColor(feature.properties.mag),
    color: "#000000",
    radius: getRadius(feature.properties.mag),
    stroke: true,
    weight: 0.5
  };
}
function styleInfo ( feature ) { return { opacity : 1 , fillOpacity : 1 , fillColor : getColor ( feature . properties . mag ) , color : "#000000" , radius : getRadius ( feature . properties . mag ) , stroke : true , weight : 0.5 } ; }
to calculate the color and radius.
to calculate the color and radius .