Re: [josm-dev] MapMode, GeoImageLayer, mouseAdapter, Flags, Undo

2013-09-20 Thread Holger Mappt
Hi, So a MapMode is one of the modes that I usually use to modify the OSM data. Makes sense. That means I could implement a MapMode to move the photos. So far I was just thinking to enable my addition if the GeoImageLayer is active. I started with a plug-in (the first I did was an option

[josm-dev] MapMode, GeoImageLayer, mouseAdapter, Flags, Undo

2013-09-16 Thread Holger Mappt
Hi, I have a proof of concept for my ticket 7712. Until now I changed the GeoImageLayer directly to keeps things simple. Now I want to move the additional code into a plug-in. That raises a few questions. The GeoImageLayer uses a MouseAdapter that is added and removed by a

Re: [josm-dev] MapMode, GeoImageLayer, mouseAdapter, Flags, Undo

2013-09-16 Thread Paul Hartmann
On 09/16/2013 10:31 PM, Holger Mappt wrote: Hi, I have a proof of concept for my ticket 7712. Until now I changed the GeoImageLayer directly to keeps things simple. Now I want to move the additional code into a plug-in. That raises a few questions. The GeoImageLayer uses a MouseAdapter that

Re: [josm-dev] MapMode, GeoImageLayer, mouseAdapter, Flags, Undo

2013-09-16 Thread colliar
Hey Holger Sorry, cannot tell you about code but I was thinking about the option to move a picture the other day and only forgot to open a ticket. Please, have this directly integrated into core as an enhancement of the geoimage layer. I do not think you need different mapmodes but need to