Changeset 2796 in osm for applications/editors


Ignore:
Timestamp:
2007-05-06T19:57:08+02:00 (18 years ago)
Author:
damians
Message:

added help to elemstyles.xml and fixed a small bug

Location:
applications/editors/josm/plugins/mappaint
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mappaint/src/mappaint/MapPaintVisitor.java

    r2787 r2796  
    9999                                                drawSegment(ls, w.selected ? getPreferencesColor("selected", Color.YELLOW) : colour,Main.pref.getBoolean("draw.segment.direction"), width,true);
    100100                                        else
    101                                                 if (realWidth > 0 && Main.pref.getBoolean("mappaint.useRealWith",false)){
     101                                                if (realWidth > 0 && Main.pref.getBoolean("mappaint.useRealWidth",false)){
    102102                                                        int tmpWidth = (int) (100 /  (float) (circum / realWidth));
    103103                                                        if (tmpWidth > width) width = tmpWidth;
  • applications/editors/josm/plugins/mappaint/styles/standard/elemstyles.xml

    r2787 r2796  
     1<!--
     2a little help:
     31. every rule starts with <rule> and ends with </rule>
     42. every rule needs a condition
     53. line attributes
     6                - width absolute width in pixel in every zoom level
     7                - realwidth relative width which will be scaled in meters, integer
     8                - colour
     94. area attributes
     10                - colour
     115. amenity attributes
     12                - icon path to icon , relative from where this file is
     13-->
     14
    115<rules>
    216<!-- highway tags -->
Note: See TracChangeset for help on using the changeset viewer.