Changes between Version 47 and Version 48 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2014-04-12T18:32:38+02:00 (11 years ago)
Author:
bastiK
Comment:

add missing doc for the meta selector

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v47 v48  
    105105    title: "Parking lanes";   /* title shown in the menu */
    106106    icon: "images/logo.png";  /* small icon shown in the menu next to the title */
     107    version: "1.2";           /* the version of the style */
     108    description: "...";       /* one or two sentences of describing the style */
     109    author: "...";            /* the author(s) of the style */
     110    link: "http://...";       /* URL to the web page of the style */
     111    min-josm-version: 6789;   /* the minimum JOSM version where this style works */
    107112}
    108113}}}
     
    737742}
    738743}}}
     744
     745Since media queries are only supported in JOSM 6970 and later, you should also specify this as minimum JOSM version in the meta selector:
     746
     747{{{
     748#!mapcss
     749meta {
     750    min-josm-version: "6970"; /* This style uses media queries */
     751    /* ... */
     752}
     753}}}
     754
    739755
    740756{{{#!comment