diff --git a/safeDispatch/src/main/java/com/safemobile/safedispatch/GoogleMapsInfoBubble.java b/safeDispatch/src/main/java/com/safemobile/safedispatch/GoogleMapsInfoBubble.java index de11ea3..5d6ace6 100644 --- a/safeDispatch/src/main/java/com/safemobile/safedispatch/GoogleMapsInfoBubble.java +++ b/safeDispatch/src/main/java/com/safemobile/safedispatch/GoogleMapsInfoBubble.java @@ -42,7 +42,6 @@ public class GoogleMapsInfoBubble implements GoogleMap.InfoWindowAdapter { public GoogleMapsInfoBubble(LayoutInflater layoutInflater, Context context) { isLiveTab = false; this.context = context; -// this.superVehHash = vehicles; mWindow = layoutInflater.inflate(R.layout.map_marker_info_bubble, null); } @@ -73,7 +72,7 @@ public class GoogleMapsInfoBubble implements GoogleMap.InfoWindowAdapter { } } else { try { - position = Integer.getInteger(marker.getTitle()); + position = Integer.parseInt(marker.getTitle()); } catch (Exception e) { Log.v(TAG, "Unable to parse Google Maps Info Bubble title on History"); }