Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.

Commit

Permalink
Add nightclub
Browse files Browse the repository at this point in the history
Re: https://trac.openstreetmap.org/ticket/4025 - added to Food and Drink
section (where bar is) and Sport and Leisure (as it is for leisure
purposes). Also icon in core-pois added.
  • Loading branch information
EdLoach committed Oct 25, 2012
1 parent aebec6b commit c891c29
Show file tree
Hide file tree
Showing 5 changed files with 408 additions and 0 deletions.
Binary file added resources/features/pois/food_nightclub.n.24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/icons/food_nightclub.n.16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions resources/map_features/amenities.xml
Original file line number Diff line number Diff line change
Expand Up @@ -509,5 +509,21 @@
<inputSet ref="cuisine"/>
<inputSet ref="common"/>
</feature>


<feature name="Nightclub">
<category>foodanddrink</category>
<category>sport</category>
<icon image="features/pois/food_nightclub.n.24.png">
${name}
</icon>
<point/>
<tag k="amenity" v="nightclub"/>
<inputSet ref="names"/>
<inputSet ref="web"/>
<inputSet ref="buildingAddress"/>
<inputSet ref="wifi"/>
<inputSet ref="common"/>
</feature>

</featureGroup>
1 change: 1 addition & 0 deletions resources/stylesheets/core_pois.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ way[amenity=school] :area { color: yellow; fill-color: yellow; fill-opacity: 0.1
node[amenity=bar] { icon-image: icons/food_bar.n.16.png; text-offset:15; text: name; font-size: 10; z-index: 20; }
node[amenity=cafe] { icon-image: icons/food_cafe.n.16.png; text-offset:15; text: name; font-size: 10; z-index: 20; }
node[amenity=fast_food] { icon-image: icons/food_fastfood.n.16.png; z-index: 20; }
node[amenity=nightclub] { icon-image: icons/food_nightclub.n.16.png; text-offset: 15; text: name; font-size: 10; z-index: 20; }
node[amenity=pub] { icon-image: icons/food_pub.n.16.png; text-offset: 15; text: name; font-size: 10; z-index: 20; }
node[amenity=restaurant] { icon-image: icons/food_restaurant.n.16.png; text-offset:15; text: name; font-size: 10; z-index: 20; }
node[amenity=hospital] { icon-image: icons/health_hospital.n.16.png; z-index: 20; }
Expand Down
Loading

0 comments on commit c891c29

Please sign in to comment.