Skip to content

Commit ba00a53

Browse files
committed
Render themes: texture atlas separation, closes opensciencemap#59
1 parent 43ca550 commit ba00a53

File tree

21 files changed

+205
-147
lines changed

21 files changed

+205
-147
lines changed

vtm-playground/resources/assets/styles/poi_icons_16.png renamed to vtm-playground/resources/assets/icons/poi_icons_16.png

File renamed without changes.

vtm-playground/resources/assets/styles/poi_icons_20.png renamed to vtm-playground/resources/assets/icons/poi_icons_20.png

File renamed without changes.

vtm-playground/resources/assets/styles/poi_icons_24.png renamed to vtm-playground/resources/assets/icons/poi_icons_24.png

File renamed without changes.

vtm-playground/resources/assets/styles/poi_icons_28.png renamed to vtm-playground/resources/assets/icons/poi_icons_28.png

File renamed without changes.

vtm-playground/resources/assets/styles/poi_icons_32.png renamed to vtm-playground/resources/assets/icons/poi_icons_32.png

File renamed without changes.

vtm-playground/resources/assets/styles/mapzen.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
version="1" xmlns="http://opensciencemap.org/rendertheme"
33
xsi:schemaLocation="http://opensciencemap.org/rendertheme ../../rendertheme.xsd">
44
<!-- icons 32 -->
5-
<atlas img="styles/poi_icons_32.png">
5+
<atlas img="icons/poi_icons_32.png">
66
<rect id="1_airport" pos="0 0 32 32" />
77
<rect id="2_taxi " pos="0 37 32 32" />
88
<rect id="3_train" pos="0 74 32 32" />
File renamed without changes.

vtm-themes/icons/maki.xml

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
<atlas img="icons/maki.png">
2+
<rect id="airfield" pos="1 105 24 24" />
3+
<rect id="airport" pos="1 79 24 24" />
4+
<rect id="alcohol-shop" pos="27 105 24 24" />
5+
<rect id="america-football" pos="1 53 24 24" />
6+
<rect id="art-gallery" pos="27 79 24 24" />
7+
<rect id="bank" pos="53 105 24 24" />
8+
<rect id="bar" pos="1 27 24 24" />
9+
<rect id="baseball" pos="27 53 24 24" />
10+
<rect id="basketball" pos="53 79 24 24" />
11+
<rect id="beer" pos="79 105 24 24" />
12+
<rect id="bicycle" pos="1 1 24 24" />
13+
<rect id="building" pos="27 27 24 24" />
14+
<rect id="bus" pos="53 53 24 24" />
15+
<rect id="cafe" pos="79 79 24 24" />
16+
<rect id="campsite" pos="105 105 24 24" />
17+
<rect id="cemetery" pos="27 1 24 24" />
18+
<rect id="cinema" pos="53 27 24 24" />
19+
<rect id="circle" pos="105 79 24 24" />
20+
<rect id="circle-stroked" pos="79 53 24 24" />
21+
<rect id="city" pos="131 105 24 24" />
22+
<rect id="college" pos="53 1 24 24" />
23+
<rect id="commercial" pos="79 27 24 24" />
24+
<rect id="cricket" pos="105 53 24 24" />
25+
<rect id="cross" pos="131 79 24 24" />
26+
<rect id="dam" pos="157 105 24 24" />
27+
<rect id="danger" pos="79 1 24 24" />
28+
<rect id="disability" pos="105 27 24 24" />
29+
<rect id="embassy" pos="131 53 24 24" />
30+
<rect id="emergency-telephone" pos="157 79 24 24" />
31+
<rect id="farm" pos="183 105 24 24" />
32+
<rect id="fast-food" pos="105 1 24 24" />
33+
<rect id="ferry" pos="131 27 24 24" />
34+
<rect id="fire-station" pos="157 53 24 24" />
35+
<rect id="fuel" pos="183 79 24 24" />
36+
<rect id="garden" pos="209 105 24 24" />
37+
<rect id="golf" pos="131 1 24 24" />
38+
<rect id="grocery" pos="157 27 24 24" />
39+
<rect id="harbor" pos="183 53 24 24" />
40+
<rect id="heliport" pos="209 79 24 24" />
41+
<rect id="hospital" pos="235 105 24 24" />
42+
<rect id="industrial" pos="157 1 24 24" />
43+
<rect id="land-use" pos="183 27 24 24" />
44+
<rect id="library" pos="209 53 24 24" />
45+
<rect id="lodging" pos="235 79 24 24" />
46+
<rect id="logging" pos="261 105 24 24" />
47+
<rect id="marker" pos="209 27 24 24" />
48+
<rect id="marker-stroked" pos="183 1 24 24" />
49+
<rect id="monument" pos="235 53 24 24" />
50+
<rect id="museum" pos="261 79 24 24" />
51+
<rect id="music" pos="287 105 24 24" />
52+
<rect id="oil-well" pos="209 1 24 24" />
53+
<rect id="park" pos="235 27 24 24" />
54+
<rect id="park2" pos="261 53 24 24" />
55+
<rect id="parking" pos="313 105 24 24" />
56+
<rect id="parking-garage" pos="287 79 24 24" />
57+
<rect id="pharmacy" pos="235 1 24 24" />
58+
<rect id="pitch" pos="261 27 24 24" />
59+
<rect id="place-of-worship" pos="287 53 24 24" />
60+
<rect id="police" pos="313 79 24 24" />
61+
<rect id="post" pos="339 105 24 24" />
62+
<rect id="prison" pos="261 1 24 24" />
63+
<rect id="rail" pos="339 79 24 24" />
64+
<rect id="rail-above" pos="287 27 24 24" />
65+
<rect id="rail-underground" pos="313 53 24 24" />
66+
<rect id="religious-christian" pos="365 105 24 24" />
67+
<rect id="religious-jewish" pos="287 1 24 24" />
68+
<rect id="religious-muslim" pos="313 27 24 24" />
69+
<rect id="restaurant" pos="339 53 24 24" />
70+
<rect id="roadblock" pos="365 79 24 24" />
71+
<rect id="school" pos="391 105 24 24" />
72+
<rect id="shop" pos="313 1 24 24" />
73+
<rect id="skiing" pos="339 27 24 24" />
74+
<rect id="slaughterhouse" pos="365 53 24 24" />
75+
<rect id="soccer" pos="391 79 24 24" />
76+
<rect id="square" pos="339 1 24 24" />
77+
<rect id="square-stroked" pos="417 105 24 24" />
78+
<rect id="star" pos="391 53 24 24" />
79+
<rect id="star-stroked" pos="365 27 24 24" />
80+
<rect id="swimming" pos="417 79 24 24" />
81+
<rect id="telephone" pos="443 105 24 24" />
82+
<rect id="tennis" pos="365 1 24 24" />
83+
<rect id="theatre" pos="391 27 24 24" />
84+
<rect id="toilets" pos="417 53 24 24" />
85+
<rect id="town" pos="469 105 24 24" />
86+
<rect id="town-hall" pos="443 79 24 24" />
87+
<rect id="triangle" pos="417 27 24 24" />
88+
<rect id="triangle-stroked" pos="391 1 24 24" />
89+
<rect id="village" pos="443 53 24 24" />
90+
<rect id="warehouse" pos="469 79 24 24" />
91+
<rect id="waste-basket" pos="417 1 24 24" />
92+
<rect id="water" pos="443 27 24 24" />
93+
<rect id="wetland" pos="469 53 24 24" />
94+
<rect id="zoo" pos="443 1 24 24" />
95+
</atlas>

vtm-themes/icons/maki/atlas.xml

Lines changed: 0 additions & 95 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)