[Potlatch-dev] Drag and drop with missing icons
Andy Allan
gravitystorm at gmail.com
Fri Oct 8 11:17:24 BST 2010
Hi guys and gals,
This is mainly for info for Steve, but also for other hackers on
map_features.xml. The drag and drop functionality depends entirely on
their being an icon since flash actually moves the graphic around, and
k/v pairs are attributes of the graphic. So when there's no graphic
then DND doesn't work.
There's obviously two ways to fix this - making sure everything in the
DND panel has an icon (which is good in itself), and fix the code to
make sure there's always a default graphic.
http://trac.openstreetmap.org/browser/applications/editors/potlatch2/TODO.txt#L24
. Until that's fixed in the code it's best to put even just a blank
square icon into mapfeatures.xml, that way we keep the current HEAD
version in a working state and let the testers concentrate on finding
the other bugs.
Cheers,
Andy
More information about the Potlatch-dev
mailing list