On Tue, Nov 17, 2009 at 9:10 AM, Dirk Stöcker <[email protected]> wrote:
> Implement preferences into Lambert and drop the autodetection. This is > anyway a necessary step. > > Instead of auto-detection you can then implement a "suggest projection > switch" requester when user tries to initialy use cadastre-fr in an > outside region. > I'm trying to implement to subprojection and manual configuration of the Lambert zone but I still have the problem with the recent change in MapView.paint. When the projection is configured for a certain zone and MapView calls the projection for values outside the box in paint(), I cannot warn the user and I don't have to warn the user because those values are non-sens since they have nothing to do with the user and its current activities. The coordinates are not related to the OSM data or any geodata. They are just based on fancyfull values and I don't know what to do in latlon2eastNorth in such cases. I cannot use a JOptionPane because it's called from MapView.paint() and if I just convert the values silently, the projection is wrong and the user is never informed even when he is really working outside the box. Pieren _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev
