private void setMapBoundries() {
		if (!(intersections.isEmpty())) {
			boolean first = true;
			for (Intersection i : intersections) {
				if (first) {
					north = i.getLocation().y;
					south = i.getLocation().y;
					west = i.getLocation().x;
					east = i.getLocation().x;
					first = false;

				} else {
					if (north < i.getLocation().y) {
						north = i.getLocation().y;
					}
					if (south > i.getLocation().y) {
						south = i.getLocation().y;
					}
					if (west > i.getLocation().x) {
						west = i.getLocation().x;
					}
					if (east < i.getLocation().x) {
						east = i.getLocation().x;
					}
				}
			}
			this.origin = new Location(west, north);
			this.scale = 800 / (east - west);
		}

	}