[OSM-talk] Applet Update

Nick Burch openstreetmap at gagravarr.org
Thu Dec 21 12:03:48 GMT 2006


Hi All

I did some work on the applet over the weekend, and Steve's now put it 
live.

The main thing to be aware of is that you'll now need Java 1.5. This is 
because, amazingly, it wasn't until 1.5 that sun let you set proper 
network timeouts on fetching from URLs!

So, the changes are:
* Tile downloads will now timeout and retry as needed. This should
    hopefully avoid the situation where it downloads half the tiles, and
    stops
* OSM data downloads will now retry if the initial connection times out
    (but not if it connects, but times out downloading). This should fix
    most times when it just sits there with no OSM data
* It'll now tell you when it's downloading OSM data, and the uploading
    notice is now easier to see
* ConcurrentModificationExceptions should be much less likely to occur
    (the most common crash of the applet)
* The basic details panel of ways, segments and nodes now has map features
    based values, rather than the old class ones.
* The zoom support is back
* More comments on what the code's up to

I'd say the main things still to do would be:
* Fix the periodic out of heapspace errors (now we're on 1.5, using weak
    hashmaps for some of the tile storage might help)
* Displaying gpx trackpoints in areas with no yahoo tiles
* Updating the docs

Nick





More information about the talk mailing list