Changes between Version 19 and Version 20 of DevelopersGuide/DefaultPresets


Ignore:
Timestamp:
2016-01-29T23:56:03+01:00 (10 years ago)
Author:
Klumbumbus
Comment:

+hint about unnused icons

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide/DefaultPresets

    v19 v20  
    2323* svg icons are automatically cleaned up to reduce file size in the JOSM build. So there is no need to do this step manually before uploading svg files to svn. See comment:35:ticket:10479 and comment:10:ticket:10877
    2424* The icon should be identifiable at a size of '''16 pixels'''. This is the size the icons are displayed in the [[Help/MapView|Map View]].
    25 * The '''license''' needs to be compatible with GPL3 (like PD or CC0). A good source for Icons is [http://openclipart.org openclipart.org] (all icons there are PD).
     25* The '''license''' needs to be compatible with GPL3 (like PD or CC0). A good source for Icons is [http://openclipart.org openclipart.org] (all icons there are PD). You can also check if JOSM already has a fitting unused icon in one of its icon folders: [browser:josm/trunk/images 1], [browser:josm/trunk/images_nodist 2], [https://trac.openstreetmap.org/browser/subversion/applications/share/map-icons/classic.small 3].
    2626* If the tag applies to nodes, the icon in the MapView and the icon of the preset should be the same if possible. (It is not possible when different features use the same preset, e.g. crossing=island and crossing=traffic_signals have different icons, but are handled in only one preset "Pedestrian Crossing".)
    2727* Icons with transparent background must '''not be only black or only white'''. Otherwise if one uses a black or white background (no aerial imagery as background) in the Map View black or white icons would be invisible. Workaround: if you want to use a black icon add a square white background to the icon instead of a transparent background. This doesn't look pretty but is better than an invisible icon. [[BR]] Example: [[Image(BlackWhiteIcon.png,middle)]]