Changeset 8428 in josm


Ignore:
Timestamp:
2015-05-26T12:45:43+02:00 (7 years ago)
Author:
Klumbumbus
Message:

fix #11471 - add sport=billiards to preset and mappaint style

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r8427 r8428  
    50885088            <combo key="leisure" text="Type" values="stadium,pitch,sports_centre" />
    50895089        </item> <!-- Beach Volleyball -->
     5090            <item name="Billiards" icon="styles/standard/sport/billiards.svg" type="node,closedway" preset_name_label="true">
     5091            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=billiards" />
     5092            <space />
     5093            <key key="sport" value="billiards" />
     5094            <reference ref="name_operator" />
     5095            <combo key="leisure" text="Type" values="stadium,pitch,sports_centre" />
     5096        </item> <!-- Billiards -->
    50905097        <item name="Golf" icon="styles/standard/sport/golf.svg" type="node,closedway" preset_name_label="true">
    50915098            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=golf"
  • trunk/data/validator/deprecated.mapcss

    r8383 r8428  
    477477  suggestAlternative: "sport=ice_hockey";
    478478}
     479
     480/* see #11471 */
     481*[sport=billard],
     482*[sport=billards],
     483*[sport=billiard] {
     484  throwWarning: tr("{0} is deprecated", "{0.tag}");
     485  suggestAlternative: "sport=billiards";
     486  fixAdd: "sport=billiards";
     487}
  • trunk/styles/standard/elemstyles.mapcss

    r8411 r8428  
    38043804area[sport=volleyball],
    38053805area[sport=beachvolleyball],
     3806area[sport=billiards],
    38063807area[sport=bowling],
    38073808area[sport=handball],
     
    38303831node[sport=beachvolleyball] {
    38313832    icon-image: "sport/beachvolleyball.png";
     3833    set icon_z17;
     3834    text: auto;
     3835}
     3836node[sport=billiards] {
     3837    icon-image: "sport/billiards.svg";
    38323838    set icon_z17;
    38333839    text: auto;
Note: See TracChangeset for help on using the changeset viewer.