// calls abstract method drawEarthquake and then checks age and draws X if needed
  @Override
  public void drawMarker(PGraphics pg, float x, float y) {
    // save previous styling
    pg.pushStyle();

    // determine color of marker from depth
    colorDetermine(pg);

    // call abstract method implemented in child class to draw marker shape
    drawEarthquake(pg, x, y);

    // IMPLEMENT: add X over marker if within past day
    String age = getStringProperty("age");
    if ("Past Hour".equals(age) || "Past Day".equals(age)) {

      pg.strokeWeight(2);
      int buffer = 2;
      pg.line(
          x - (radius + buffer), y - (radius + buffer), x + radius + buffer, y + radius + buffer);
      pg.line(
          x - (radius + buffer), y + (radius + buffer), x + radius + buffer, y - (radius + buffer));
    }

    // reset to previous styling
    pg.popStyle();
  }