// The Place class defines a place which contains
 // a zip code, the name o fthe place, its state, and its
 // latitude and longitude
 class Place {
 // Attributes
 String zipCode;
 String town, state;
 float latitude, longitude;
 
 // Constructor(s)
 Place(String zip, String town, String state, float lat, float lon) {
 zipCode = zip;
 this.town = town;
 this.state = state;
 latitude = lat;
 longitude = lon;
 } // Place()
 
 // Methods
 void display() {
 // displays this place as a dot in the sketch
 float x = map(latitude, minX, maxX, mapX1, mapX2);
 float y = map(longitude, minY, maxY, mapY2, mapY1);
 
 push();
 // draw the place marker at x, y
 strokeWeight(2);
 stroke(color(252, 194, 0));
 point(x, y);
 pop();
 } // display()
 
 // print method
 String toString() {
 return town + ", " + state + " " + zipCode + " [" + latitude + ", " + longitude + "]";
 } // toString()
 } // class Place