[josm-dev] Cleaning MapView

Dirk Stöcker openstreetmap at dstoecker.de
Tue Sep 8 12:28:22 UTC 2015


On Tue, 8 Sep 2015, Michael Zangl wrote:

> Currently, MapView is a collection of global flags, variables and lots
> of stuff that has nothing to do with simply viewing the map. Some fields
> are not even accessed by MapView itself and only used as global flag.

If you modify MapView, please keep one major goal in mind: E.g. in 
conflict resolution and relation view it would be a good idea to display 
different datasets (e.g. before, after). If the whole code can be 
capsulated enough, so that this is possible, that would be a major step 
forward, especially for conflict resolution. Mainly this means MapView 
(the view component, not the stuff around) should be reusable in 
different places and accept different data sets.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)



More information about the josm-dev mailing list