diff options
author | Christopher Baines <cbaines8@gmail.com> | 2012-02-19 09:41:44 +0000 |
---|---|---|
committer | Christopher Baines <cbaines8@gmail.com> | 2012-02-19 09:41:44 +0000 |
commit | bff738801d5a231806c42bcb06b1e187d120b5a9 (patch) | |
tree | 1ed698d5b742226a67fa52844a2fd72dea474ae9 /src/net/cbaines/suma/MapActivity.java | |
parent | 7bb198687abe16bc457c96b77dc07283b0340832 (diff) | |
download | southamptonuniversitymap-bff738801d5a231806c42bcb06b1e187d120b5a9.tar southamptonuniversitymap-bff738801d5a231806c42bcb06b1e187d120b5a9.tar.gz |
Fixed a bug with the MapActivity overlay toasts, and improved the BusStopActivity.
Diffstat (limited to 'src/net/cbaines/suma/MapActivity.java')
-rw-r--r-- | src/net/cbaines/suma/MapActivity.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/net/cbaines/suma/MapActivity.java b/src/net/cbaines/suma/MapActivity.java index 21bcf15..d12057c 100644 --- a/src/net/cbaines/suma/MapActivity.java +++ b/src/net/cbaines/suma/MapActivity.java @@ -1050,8 +1050,14 @@ public class MapActivity extends OrmLiteBaseActivity<DatabaseHelper> implements Log.v(TAG, "Got a busStop id back from the BusTimeActivity " + busStopID); BusStop busStop = getHelper().getBusStopDao().queryForId(busStopID); - uniLinkBusStopOverlay.refresh(busStop); // This does not invalidate the map, but it seems to - // make the changes appear + if (busStop.uniLink) { + uniLinkBusStopOverlay.refresh(busStop); // This does not invalidate the map, but it seems to + // make the changes appear + } else { + nonUniLinkBusStopOverlay.refresh(busStop); // This does not invalidate the map, but it seems + // to + // make the changes appear + } } } catch (SQLException e) { e.printStackTrace(); |