diff --git a/PennMobile/src/main/java/com/pennapps/labs/pennmobile/DiningInfoFragment.java b/PennMobile/src/main/java/com/pennapps/labs/pennmobile/DiningInfoFragment.java index 83fbb23ea..5b7911a6b 100644 --- a/PennMobile/src/main/java/com/pennapps/labs/pennmobile/DiningInfoFragment.java +++ b/PennMobile/src/main/java/com/pennapps/labs/pennmobile/DiningInfoFragment.java @@ -109,12 +109,12 @@ public void call(List buildings) { } } - private void drawMarker(LatLng courseLatLng) { - if (map != null && courseLatLng != null && mapFrame != null) { + private void drawMarker(LatLng diningHallLatLng) { + if (map != null && diningHallLatLng != null && mapFrame != null) { mapFrame.setVisibility(View.VISIBLE); - map.moveCamera(CameraUpdateFactory.newLatLngZoom(courseLatLng, 17)); + map.moveCamera(CameraUpdateFactory.newLatLngZoom(diningHallLatLng, 17)); Marker marker = map.addMarker(new MarkerOptions() - .position(courseLatLng) + .position(diningHallLatLng) .title(mDiningHall.getName())); marker.showInfoWindow(); } @@ -152,7 +152,6 @@ public LinkedList addDiningHour(VenueInterval day, LinkedList addDiningHour(VenueInterval day, LinkedList openHours; @@ -98,9 +98,6 @@ public boolean hasMenu() { return menus.size() > 0; } - public String getLocation() { - return location; - } public Venue getVenue(){ return venue; diff --git a/PennMobile/src/main/res/values/styles.xml b/PennMobile/src/main/res/values/styles.xml index b3f319ab1..bc8cb7d85 100644 --- a/PennMobile/src/main/res/values/styles.xml +++ b/PennMobile/src/main/res/values/styles.xml @@ -106,18 +106,6 @@ 4dp - - - -