// A suggested helper method that takes in an earthquake feature and // returns a SimplePointMarker for that earthquake // Done: Implement this method and call it from setUp, if it helps private SimplePointMarker createMarker(PointFeature feature) { // finish implementing and use this method, if it helps. SimplePointMarker spm = new SimplePointMarker(feature.getLocation()); Object magnitudeProp = feature.getProperty("magnitude"); float magnitude = Float.parseFloat(magnitudeProp.toString()); if (magnitude < 4.0) { spm.setColor(color(0, 0, 255)); spm.setRadius(5); } else if (magnitude >= 4.0 && magnitude < 5) { spm.setColor(color(255, 255, 0)); spm.setRadius(10); } else { spm.setColor(color(255, 0, 0)); spm.setRadius(15); } return spm; }