- Timestamp:
- 2016-02-19T18:24:58+01:00 (9 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r9792 r9835 187 187 </chunk> 188 188 <chunk id="sport"> 189 <combo key="sport" text="Sport" values="multi,archery,athletics,american_football,australian_football,baseball,basketball,beachvolleyball,billiards,boules,bowls,canadian_football,canoe,climbing,cricket,croquet,cycling,dog_racing,equestrian,field_hockey,gaelic_games,golf,gymnastics,handball,horse_racing,ice_hockey,karting,model_aerodrome,motocross,motor,pelota,racquet,rc_car,rugby_league,rugby_union,running,safety_training,shooting,skateboard, skating,soccer,swimming,table_tennis,tennis,volleyball,9pin,10pin" values_context="sport" />189 <combo key="sport" text="Sport" values="multi,archery,athletics,american_football,australian_football,baseball,basketball,beachvolleyball,billiards,boules,bowls,canadian_football,canoe,climbing,cricket,croquet,cycling,dog_racing,equestrian,field_hockey,gaelic_games,golf,gymnastics,handball,horse_racing,ice_hockey,karting,model_aerodrome,motocross,motor,pelota,racquet,rc_car,rugby_league,rugby_union,running,safety_training,shooting,skateboard,ice_skating,roller_skating,soccer,swimming,table_tennis,tennis,volleyball,9pin,10pin" values_context="sport" /> 190 190 </chunk> 191 191 <chunk id="fee"> … … 5396 5396 <key key="leisure" value="track" /> 5397 5397 <text key="name" text="Name" /> 5398 <combo key="sport" text="Sport" values="athletics,cycling,dog_racing,equestrian,horse_racing,running, skating" values_context="sport" />5398 <combo key="sport" text="Sport" values="athletics,cycling,dog_racing,equestrian,horse_racing,running,roller_skating,ice_skating" values_context="sport" /> 5399 5399 </item> <!-- Racetrack --> 5400 5400 <group name="Golf" icon="styles/standard/sport/golf/golf.svg"> … … 5635 5635 <combo key="leisure" text="Type" values="pitch,sports_centre,stadium" /> 5636 5636 </item> <!-- Gymnastics --> 5637 <item name="Skating" icon="presets/skating.png" type="node,closedway,multipolygon" preset_name_label="true"> 5638 <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=skating" 5639 uk.href="http://wiki.openstreetmap.org/wiki/Uk:Tag:sport=skating" /> 5640 <space /> 5641 <key key="sport" value="skating" /> 5637 <item name="Ice Skating" icon="presets/skating.png" type="node,closedway,multipolygon" preset_name_label="true"> 5638 <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=ice_skating" /> 5639 <space /> 5640 <key key="sport" value="ice_skating" /> 5642 5641 <text key="name" text="Name" /> 5643 5642 <combo key="leisure" text="Type" values="ice_rink,pitch,sports_centre,stadium" default="ice_rink" /> 5644 </item> <!-- Skating --> 5643 </item> <!-- Ice Skating --> 5644 <item name="Roller Skating" icon="styles/standard/sport/roller_skating.svg" type="node,closedway,multipolygon" preset_name_label="true"> 5645 <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=roller_skating"/> 5646 <space /> 5647 <key key="sport" value="roller_skating" /> 5648 <text key="name" text="Name" /> 5649 <combo key="leisure" text="Type" values="pitch,sports_centre,stadium" /> 5650 </item> <!-- Roller Skating --> 5645 5651 <item name="Skateboard" icon="styles/standard/sport/skateboard.png" type="node,closedway,multipolygon" preset_name_label="true"> 5646 5652 <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=skateboard" -
trunk/data/validator/deprecated.mapcss
r9747 r9835 792 792 throwWarning: tr("questionable key (ending with a number): {0}", "{0.key}"); 793 793 } 794 795 /* #12500 */ 796 *[sport=skating] { 797 throwWarning: tr("{0} is deprecated", "{0.tag}"); 798 suggestAlternative: "sport=ice_skating"; 799 suggestAlternative: "sport=roller_skating"; 800 } -
trunk/styles/standard/elemstyles.mapcss
r9725 r9835 4301 4301 area[sport=pelota], 4302 4302 area[sport=racquet], 4303 area[sport=skating], 4303 area[sport=ice_skating], 4304 area[sport=roller_skating], 4304 4305 area[sport=skateboard] { 4305 4306 fill-color: sport#bde3cb; … … 4320 4321 text: auto; 4321 4322 } 4323 node[sport=ice_skating] { 4324 icon-image: "sport/skating.png"; 4325 set icon_z17; 4326 text: auto; 4327 } 4328 node[sport=roller_skating] { 4329 icon-image: "sport/roller_skating.svg"; 4330 set icon_z17; 4331 text: auto; 4332 } 4322 4333 node[sport=skating] { 4323 icon-image: " sport/skating.png";4334 icon-image: "misc/deprecated.png"; 4324 4335 set icon_z17; 4325 4336 text: auto;
Note:
See TracChangeset
for help on using the changeset viewer.