I have a working leaflet map that is showing earthquake data from http://earthquake.usgs.gov/. I'm trying to figure out the "right" way to calculate the radius of the circle for an earthquake given its magnitude (and possibly depth).
The circle is being created with
(where radius is in meters). The previous map developer did this:
var radius = 30000 * magnitude;
Which looks good on a map but doesn't seem right - he just made up a number to make it look decent. I googled and found two other earthquake maps using leaflet and they did this:
var radius = Math.sqrt(Math.pow(10, magnitude))/50000);
and the other did this:
var radius = Math.pow(2, magnitude);
but both of those draw very tiny circles on the map. As an example, if the magnitude is 5.0, I would get radii of 150000, 1.414, and 32, respectively.
So, my question... is there a standard/accepted formula for drawing an earthquake circle on the map using the magnitude (and maybe the depth)?
UPDATE: I found one more:
var radius = (Math.exp(magnitude/1.01-0.13))*1000;
which for a magnitude of 5.0 gives a radius of 124026 meters (and "looks" good on the map). Barring any insights from the community, I may just go with this one.