altosui: Handle broken network in map tile loading
authorKeith Packard <keithp@keithp.com>
Wed, 17 Apr 2013 00:33:42 +0000 (17:33 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 17 Apr 2013 17:39:54 +0000 (10:39 -0700)
commita03aaaca60ccb4b44595e5e1c1047d07d8b6d60f
treeb77f40c97e26883f8298900ad05fae9d223f1bc4
parent5b041769dc926f0aa18072f46abca60b11ede44b
altosui: Handle broken network in map tile loading

Handle missing pngfiles in AltosSetMapCache by checking ImageIO.read
for null return.

Do incremental map tile downloading asynchronously so that the UI
doesn't lock up when the network is slow

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosSiteMap.java
altosui/AltosSiteMapCache.java