update info bubble box info #23
@ -42,7 +42,6 @@ public class GoogleMapsInfoBubble implements GoogleMap.InfoWindowAdapter {
|
|||||||
public GoogleMapsInfoBubble(LayoutInflater layoutInflater, Context context) {
|
public GoogleMapsInfoBubble(LayoutInflater layoutInflater, Context context) {
|
||||||
isLiveTab = false;
|
isLiveTab = false;
|
||||||
this.context = context;
|
this.context = context;
|
||||||
// this.superVehHash = vehicles;
|
|
||||||
mWindow = layoutInflater.inflate(R.layout.map_marker_info_bubble, null);
|
mWindow = layoutInflater.inflate(R.layout.map_marker_info_bubble, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -73,7 +72,7 @@ public class GoogleMapsInfoBubble implements GoogleMap.InfoWindowAdapter {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
position = Integer.getInteger(marker.getTitle());
|
position = Integer.parseInt(marker.getTitle());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Log.v(TAG, "Unable to parse Google Maps Info Bubble title on History");
|
Log.v(TAG, "Unable to parse Google Maps Info Bubble title on History");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user