Computer Science, asked by mohammadmikthad77, 10 months ago

quize2.atom what is 6th magnitude earthquik ​

Answers

Answered by anuragmukherjee74
1

Answer:

  • public class EarthquakeCityMap extends PApplet {

ArrayList<EarthquakeMarker> quakeNumbers = new ArrayList<EarthquakeMarker>();

ArrayList<Float> quakeMag = new ArrayList<Float>();

String pastQuake=”None”;

boolean pastWeek=false;

boolean pastDay=false;

boolean pastMonth=false;

boolean pastHour=false;

boolean pastMinute=false;

boolean pastSecond=false;

  • // The files containing city names and info and country names and info

private String cityFile = “city-data.json”;

private String countryFile = “countries.geo.json”;

//When to display city chart

//private boolean cityChart = false;

// The map

private UnfoldingMap map;

// Markers for each city

private List<Marker> cityMarkers;

// Markers for each earthquake

private List<Marker> quakeMarkers;

// A List of country markers

private List<Marker> countryMarkers;

private CommonMarker lastSelected;

private CommonMarker lastClicked;

public void setup() {

// (1) Initializing canvas and map tiles

size(900, 700, OPENGL);

if (offline) {

map = new UnfoldingMap(this, 200, 50, 650, 600, new MBTilesMapProvider(mbTilesString));

earthquakesURL = “2.5_week.atom”; // The same feed, but saved August 7, 2015

}

else {

map = new UnfoldingMap(this, 200, 50, 650, 600, new Google.GoogleMapProvider());

}

MapUtils.createDefaultEventDispatcher(this, map);

HOPE THE ANSWER HELPS YOU....

PLEASE MARK ME AS BRAINLEAST....

Similar questions