Render themes: texture atlas separation, closes #59
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
@ -2,7 +2,7 @@
|
||||
version="1" xmlns="http://opensciencemap.org/rendertheme"
|
||||
xsi:schemaLocation="http://opensciencemap.org/rendertheme ../../rendertheme.xsd">
|
||||
<!-- icons 32 -->
|
||||
<atlas img="styles/poi_icons_32.png">
|
||||
<atlas img="icons/poi_icons_32.png">
|
||||
<rect id="1_airport" pos="0 0 32 32" />
|
||||
<rect id="2_taxi " pos="0 37 32 32" />
|
||||
<rect id="3_train" pos="0 74 32 32" />
|
||||
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
95
vtm-themes/icons/maki.xml
Normal file
@ -0,0 +1,95 @@
|
||||
<atlas img="icons/maki.png">
|
||||
<rect id="airfield" pos="1 105 24 24" />
|
||||
<rect id="airport" pos="1 79 24 24" />
|
||||
<rect id="alcohol-shop" pos="27 105 24 24" />
|
||||
<rect id="america-football" pos="1 53 24 24" />
|
||||
<rect id="art-gallery" pos="27 79 24 24" />
|
||||
<rect id="bank" pos="53 105 24 24" />
|
||||
<rect id="bar" pos="1 27 24 24" />
|
||||
<rect id="baseball" pos="27 53 24 24" />
|
||||
<rect id="basketball" pos="53 79 24 24" />
|
||||
<rect id="beer" pos="79 105 24 24" />
|
||||
<rect id="bicycle" pos="1 1 24 24" />
|
||||
<rect id="building" pos="27 27 24 24" />
|
||||
<rect id="bus" pos="53 53 24 24" />
|
||||
<rect id="cafe" pos="79 79 24 24" />
|
||||
<rect id="campsite" pos="105 105 24 24" />
|
||||
<rect id="cemetery" pos="27 1 24 24" />
|
||||
<rect id="cinema" pos="53 27 24 24" />
|
||||
<rect id="circle" pos="105 79 24 24" />
|
||||
<rect id="circle-stroked" pos="79 53 24 24" />
|
||||
<rect id="city" pos="131 105 24 24" />
|
||||
<rect id="college" pos="53 1 24 24" />
|
||||
<rect id="commercial" pos="79 27 24 24" />
|
||||
<rect id="cricket" pos="105 53 24 24" />
|
||||
<rect id="cross" pos="131 79 24 24" />
|
||||
<rect id="dam" pos="157 105 24 24" />
|
||||
<rect id="danger" pos="79 1 24 24" />
|
||||
<rect id="disability" pos="105 27 24 24" />
|
||||
<rect id="embassy" pos="131 53 24 24" />
|
||||
<rect id="emergency-telephone" pos="157 79 24 24" />
|
||||
<rect id="farm" pos="183 105 24 24" />
|
||||
<rect id="fast-food" pos="105 1 24 24" />
|
||||
<rect id="ferry" pos="131 27 24 24" />
|
||||
<rect id="fire-station" pos="157 53 24 24" />
|
||||
<rect id="fuel" pos="183 79 24 24" />
|
||||
<rect id="garden" pos="209 105 24 24" />
|
||||
<rect id="golf" pos="131 1 24 24" />
|
||||
<rect id="grocery" pos="157 27 24 24" />
|
||||
<rect id="harbor" pos="183 53 24 24" />
|
||||
<rect id="heliport" pos="209 79 24 24" />
|
||||
<rect id="hospital" pos="235 105 24 24" />
|
||||
<rect id="industrial" pos="157 1 24 24" />
|
||||
<rect id="land-use" pos="183 27 24 24" />
|
||||
<rect id="library" pos="209 53 24 24" />
|
||||
<rect id="lodging" pos="235 79 24 24" />
|
||||
<rect id="logging" pos="261 105 24 24" />
|
||||
<rect id="marker" pos="209 27 24 24" />
|
||||
<rect id="marker-stroked" pos="183 1 24 24" />
|
||||
<rect id="monument" pos="235 53 24 24" />
|
||||
<rect id="museum" pos="261 79 24 24" />
|
||||
<rect id="music" pos="287 105 24 24" />
|
||||
<rect id="oil-well" pos="209 1 24 24" />
|
||||
<rect id="park" pos="235 27 24 24" />
|
||||
<rect id="park2" pos="261 53 24 24" />
|
||||
<rect id="parking" pos="313 105 24 24" />
|
||||
<rect id="parking-garage" pos="287 79 24 24" />
|
||||
<rect id="pharmacy" pos="235 1 24 24" />
|
||||
<rect id="pitch" pos="261 27 24 24" />
|
||||
<rect id="place-of-worship" pos="287 53 24 24" />
|
||||
<rect id="police" pos="313 79 24 24" />
|
||||
<rect id="post" pos="339 105 24 24" />
|
||||
<rect id="prison" pos="261 1 24 24" />
|
||||
<rect id="rail" pos="339 79 24 24" />
|
||||
<rect id="rail-above" pos="287 27 24 24" />
|
||||
<rect id="rail-underground" pos="313 53 24 24" />
|
||||
<rect id="religious-christian" pos="365 105 24 24" />
|
||||
<rect id="religious-jewish" pos="287 1 24 24" />
|
||||
<rect id="religious-muslim" pos="313 27 24 24" />
|
||||
<rect id="restaurant" pos="339 53 24 24" />
|
||||
<rect id="roadblock" pos="365 79 24 24" />
|
||||
<rect id="school" pos="391 105 24 24" />
|
||||
<rect id="shop" pos="313 1 24 24" />
|
||||
<rect id="skiing" pos="339 27 24 24" />
|
||||
<rect id="slaughterhouse" pos="365 53 24 24" />
|
||||
<rect id="soccer" pos="391 79 24 24" />
|
||||
<rect id="square" pos="339 1 24 24" />
|
||||
<rect id="square-stroked" pos="417 105 24 24" />
|
||||
<rect id="star" pos="391 53 24 24" />
|
||||
<rect id="star-stroked" pos="365 27 24 24" />
|
||||
<rect id="swimming" pos="417 79 24 24" />
|
||||
<rect id="telephone" pos="443 105 24 24" />
|
||||
<rect id="tennis" pos="365 1 24 24" />
|
||||
<rect id="theatre" pos="391 27 24 24" />
|
||||
<rect id="toilets" pos="417 53 24 24" />
|
||||
<rect id="town" pos="469 105 24 24" />
|
||||
<rect id="town-hall" pos="443 79 24 24" />
|
||||
<rect id="triangle" pos="417 27 24 24" />
|
||||
<rect id="triangle-stroked" pos="391 1 24 24" />
|
||||
<rect id="village" pos="443 53 24 24" />
|
||||
<rect id="warehouse" pos="469 79 24 24" />
|
||||
<rect id="waste-basket" pos="417 1 24 24" />
|
||||
<rect id="water" pos="443 27 24 24" />
|
||||
<rect id="wetland" pos="469 53 24 24" />
|
||||
<rect id="zoo" pos="443 1 24 24" />
|
||||
</atlas>
|
@ -1,95 +0,0 @@
|
||||
<atlas img="maki.png">
|
||||
<rect name="airfield" pos="1 105 24 24" />
|
||||
<rect name="airport" pos="1 79 24 24" />
|
||||
<rect name="alcohol-shop" pos="27 105 24 24" />
|
||||
<rect name="america-football" pos="1 53 24 24" />
|
||||
<rect name="art-gallery" pos="27 79 24 24" />
|
||||
<rect name="bank" pos="53 105 24 24" />
|
||||
<rect name="bar" pos="1 27 24 24" />
|
||||
<rect name="baseball" pos="27 53 24 24" />
|
||||
<rect name="basketball" pos="53 79 24 24" />
|
||||
<rect name="beer" pos="79 105 24 24" />
|
||||
<rect name="bicycle" pos="1 1 24 24" />
|
||||
<rect name="building" pos="27 27 24 24" />
|
||||
<rect name="bus" pos="53 53 24 24" />
|
||||
<rect name="cafe" pos="79 79 24 24" />
|
||||
<rect name="campsite" pos="105 105 24 24" />
|
||||
<rect name="cemetery" pos="27 1 24 24" />
|
||||
<rect name="cinema" pos="53 27 24 24" />
|
||||
<rect name="circle" pos="105 79 24 24" />
|
||||
<rect name="circle-stroked" pos="79 53 24 24" />
|
||||
<rect name="city" pos="131 105 24 24" />
|
||||
<rect name="college" pos="53 1 24 24" />
|
||||
<rect name="commercial" pos="79 27 24 24" />
|
||||
<rect name="cricket" pos="105 53 24 24" />
|
||||
<rect name="cross" pos="131 79 24 24" />
|
||||
<rect name="dam" pos="157 105 24 24" />
|
||||
<rect name="danger" pos="79 1 24 24" />
|
||||
<rect name="disability" pos="105 27 24 24" />
|
||||
<rect name="embassy" pos="131 53 24 24" />
|
||||
<rect name="emergency-telephone" pos="157 79 24 24" />
|
||||
<rect name="farm" pos="183 105 24 24" />
|
||||
<rect name="fast-food" pos="105 1 24 24" />
|
||||
<rect name="ferry" pos="131 27 24 24" />
|
||||
<rect name="fire-station" pos="157 53 24 24" />
|
||||
<rect name="fuel" pos="183 79 24 24" />
|
||||
<rect name="garden" pos="209 105 24 24" />
|
||||
<rect name="golf" pos="131 1 24 24" />
|
||||
<rect name="grocery" pos="157 27 24 24" />
|
||||
<rect name="harbor" pos="183 53 24 24" />
|
||||
<rect name="heliport" pos="209 79 24 24" />
|
||||
<rect name="hospital" pos="235 105 24 24" />
|
||||
<rect name="industrial" pos="157 1 24 24" />
|
||||
<rect name="land-use" pos="183 27 24 24" />
|
||||
<rect name="library" pos="209 53 24 24" />
|
||||
<rect name="lodging" pos="235 79 24 24" />
|
||||
<rect name="logging" pos="261 105 24 24" />
|
||||
<rect name="marker" pos="209 27 24 24" />
|
||||
<rect name="marker-stroked" pos="183 1 24 24" />
|
||||
<rect name="monument" pos="235 53 24 24" />
|
||||
<rect name="museum" pos="261 79 24 24" />
|
||||
<rect name="music" pos="287 105 24 24" />
|
||||
<rect name="oil-well" pos="209 1 24 24" />
|
||||
<rect name="park" pos="235 27 24 24" />
|
||||
<rect name="park2" pos="261 53 24 24" />
|
||||
<rect name="parking" pos="313 105 24 24" />
|
||||
<rect name="parking-garage" pos="287 79 24 24" />
|
||||
<rect name="pharmacy" pos="235 1 24 24" />
|
||||
<rect name="pitch" pos="261 27 24 24" />
|
||||
<rect name="place-of-worship" pos="287 53 24 24" />
|
||||
<rect name="police" pos="313 79 24 24" />
|
||||
<rect name="post" pos="339 105 24 24" />
|
||||
<rect name="prison" pos="261 1 24 24" />
|
||||
<rect name="rail" pos="339 79 24 24" />
|
||||
<rect name="rail-above" pos="287 27 24 24" />
|
||||
<rect name="rail-underground" pos="313 53 24 24" />
|
||||
<rect name="religious-christian" pos="365 105 24 24" />
|
||||
<rect name="religious-jewish" pos="287 1 24 24" />
|
||||
<rect name="religious-muslim" pos="313 27 24 24" />
|
||||
<rect name="restaurant" pos="339 53 24 24" />
|
||||
<rect name="roadblock" pos="365 79 24 24" />
|
||||
<rect name="school" pos="391 105 24 24" />
|
||||
<rect name="shop" pos="313 1 24 24" />
|
||||
<rect name="skiing" pos="339 27 24 24" />
|
||||
<rect name="slaughterhouse" pos="365 53 24 24" />
|
||||
<rect name="soccer" pos="391 79 24 24" />
|
||||
<rect name="square" pos="339 1 24 24" />
|
||||
<rect name="square-stroked" pos="417 105 24 24" />
|
||||
<rect name="star" pos="391 53 24 24" />
|
||||
<rect name="star-stroked" pos="365 27 24 24" />
|
||||
<rect name="swimming" pos="417 79 24 24" />
|
||||
<rect name="telephone" pos="443 105 24 24" />
|
||||
<rect name="tennis" pos="365 1 24 24" />
|
||||
<rect name="theatre" pos="391 27 24 24" />
|
||||
<rect name="toilets" pos="417 53 24 24" />
|
||||
<rect name="town" pos="469 105 24 24" />
|
||||
<rect name="town-hall" pos="443 79 24 24" />
|
||||
<rect name="triangle" pos="417 27 24 24" />
|
||||
<rect name="triangle-stroked" pos="391 1 24 24" />
|
||||
<rect name="village" pos="443 53 24 24" />
|
||||
<rect name="warehouse" pos="469 79 24 24" />
|
||||
<rect name="waste-basket" pos="417 1 24 24" />
|
||||
<rect name="water" pos="443 27 24 24" />
|
||||
<rect name="wetland" pos="469 53 24 24" />
|
||||
<rect name="zoo" pos="443 1 24 24" />
|
||||
</atlas>
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
44
vtm-themes/icons/osm.xml
Normal file
@ -0,0 +1,44 @@
|
||||
<atlas img="icons/osm.png">
|
||||
<rect id="airport" pos="1 40 16 16" />
|
||||
<rect id="atm" pos="19 40 16 16" />
|
||||
<rect id="bar" pos="1 80 20 20" />
|
||||
<rect id="cafe" pos="67 88 16 16" />
|
||||
<rect id="camping" pos="71 110 16 16" />
|
||||
<rect id="cinema" pos="1 102 24 24" />
|
||||
<rect id="city" pos="55 11 10 10" />
|
||||
<rect id="department_store" pos="67 70 16 16" />
|
||||
<rect id="fast_food" pos="67 52 16 16" />
|
||||
<rect id="florist" pos="67 34 16 16" />
|
||||
<rect id="food_bar" pos="1 22 16 16" />
|
||||
<rect id="food_drinkingtap" pos="23 80 20 20" />
|
||||
<rect id="hospital" pos="19 22 16 16" />
|
||||
<rect id="hostel" pos="27 106 20 20" />
|
||||
<rect id="hotel" pos="45 84 20 20" />
|
||||
<rect id="information" pos="37 22 16 16" />
|
||||
<rect id="library" pos="49 106 20 20" />
|
||||
<rect id="museum" pos="67 16 16 16" />
|
||||
<rect id="parking" pos="1 4 16 16" />
|
||||
<rect id="pharmacy" pos="19 4 16 16" />
|
||||
<rect id="place_of_worship" pos="37 4 16 16" />
|
||||
<rect id="playground" pos="45 62 20 20" />
|
||||
<rect id="police" pos="85 92 16 16" />
|
||||
<rect id="pub" pos="89 110 16 16" />
|
||||
<rect id="rental_bicycle" pos="1 58 20 20" />
|
||||
<rect id="restaurant" pos="85 74 16 16" />
|
||||
<rect id="school" pos="85 56 16 16" />
|
||||
<rect id="shop_bakery" pos="85 38 16 16" />
|
||||
<rect id="shop_butcher" pos="85 20 16 16" />
|
||||
<rect id="shop_clothes" pos="85 2 16 16" />
|
||||
<rect id="shop_convenience" pos="103 92 16 16" />
|
||||
<rect id="shop_diy" pos="107 110 16 16" />
|
||||
<rect id="shop_hairdresser" pos="103 74 16 16" />
|
||||
<rect id="shop_supermarket" pos="103 56 16 16" />
|
||||
<rect id="shopping_bicycle" pos="103 38 16 16" />
|
||||
<rect id="telephone" pos="103 20 16 16" />
|
||||
<rect id="theatre" pos="23 58 20 20" />
|
||||
<rect id="toilets" pos="45 40 20 20" />
|
||||
<rect id="town" pos="67 3 11 11" />
|
||||
<rect id="view_point" pos="103 2 16 16" />
|
||||
<rect id="volcano" pos="55 1 9 8" />
|
||||
<rect id="windmill" pos="55 23 10 15" />
|
||||
</atlas>
|
@ -1,42 +0,0 @@
|
||||
<atlas img="osm.png">
|
||||
<rect name="airport" pos="67 107 16 16" />
|
||||
<rect name="atm" pos="1 19 16 16" />
|
||||
<rect name="bar" pos="1 103 20 20" />
|
||||
<rect name="cafe" pos="23 41 16 16" />
|
||||
<rect name="camping" pos="45 63 16 16" />
|
||||
<rect name="city" pos="117 42 10 10" />
|
||||
<rect name="department_store" pos="67 89 16 16" />
|
||||
<rect name="fast_food" pos="85 107 16 16" />
|
||||
<rect name="florist" pos="1 1 16 16" />
|
||||
<rect name="food_bar" pos="85 89 16 16" />
|
||||
<rect name="food_drinkingtap" pos="1 81 20 20" />
|
||||
<rect name="hostel" pos="23 103 20 20" />
|
||||
<rect name="hotel" pos="1 59 20 20" />
|
||||
<rect name="information" pos="103 107 16 16" />
|
||||
<rect name="library" pos="23 81 20 20" />
|
||||
<rect name="museum" pos="103 89 16 16" />
|
||||
<rect name="parking" pos="67 71 16 16" />
|
||||
<rect name="pharmacy" pos="85 71 16 16" />
|
||||
<rect name="place_of_worship" pos="103 71 16 16" />
|
||||
<rect name="playground" pos="45 103 20 20" />
|
||||
<rect name="police" pos="19 19 16 16" />
|
||||
<rect name="pub" pos="19 1 16 16" />
|
||||
<rect name="rental_bicycle" pos="1 37 20 20" />
|
||||
<rect name="restaurant" pos="41 41 16 16" />
|
||||
<rect name="school" pos="37 23 16 16" />
|
||||
<rect name="shop_bakery" pos="37 5 16 16" />
|
||||
<rect name="shop_butcher" pos="63 53 16 16" />
|
||||
<rect name="shop_clothes" pos="81 53 16 16" />
|
||||
<rect name="shop_convenience" pos="99 53 16 16" />
|
||||
<rect name="shop_diy" pos="59 35 16 16" />
|
||||
<rect name="shop_hairdresser" pos="77 35 16 16" />
|
||||
<rect name="shop_supermarket" pos="95 35 16 16" />
|
||||
<rect name="shopping_bicycle" pos="55 17 16 16" />
|
||||
<rect name="telephone" pos="73 17 16 16" />
|
||||
<rect name="theatre" pos="23 59 20 20" />
|
||||
<rect name="toilets" pos="45 81 20 20" />
|
||||
<rect name="town" pos="55 4 11 11" />
|
||||
<rect name="view_point" pos="91 17 16 16" />
|
||||
<rect name="volcano" pos="68 7 9 8" />
|
||||
<rect name="windmill" pos="117 54 10 15" />
|
||||
</atlas>
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
60
vtm-themes/icons/osmarender.xml
Normal file
@ -0,0 +1,60 @@
|
||||
<atlas img="icons/osmarender.png">
|
||||
<rect id="airport" pos="226 38 24 24" />
|
||||
<rect id="alpine_hut" pos="198 41 26 21" />
|
||||
<rect id="atm" pos="279 2 14 16" />
|
||||
<rect id="bakery" pos="305 46 22 16" />
|
||||
<rect id="bank" pos="395 43 19 19" />
|
||||
<rect id="bench" pos="213 29 8 10" />
|
||||
<rect id="bicycle_rental" pos="295 2 13 16" />
|
||||
<rect id="bus" pos="130 32 23 9" />
|
||||
<rect id="bus_sta" pos="36 30 31 32" />
|
||||
<rect id="cable_car" pos="2 2 29 26" />
|
||||
<rect id="cafe" pos="216 2 14 14" />
|
||||
<rect id="campSite" pos="329 42 20 20" />
|
||||
<rect id="cave_entrance" pos="297 23 16 10" />
|
||||
<rect id="chair_lift" pos="130 2 13 28" />
|
||||
<rect id="church" pos="61 9 9 19" />
|
||||
<rect id="cinema" pos="145 8 16 22" />
|
||||
<rect id="drinking_water" pos="416 43 19 19" />
|
||||
<rect id="fastfood" pos="351 42 20 20" />
|
||||
<rect id="firebrigade" pos="130 43 36 19" />
|
||||
<rect id="florist" pos="342 24 12 16" />
|
||||
<rect id="fountain" pos="500 46 10 16" />
|
||||
<rect id="gondola" pos="252 38 21 24" />
|
||||
<rect id="helipad" pos="69 31 31 31" />
|
||||
<rect id="hospital" pos="437 43 19 19" />
|
||||
<rect id="hostel" pos="168 44 28 18" />
|
||||
<rect id="hotel" pos="93 11 18 17" />
|
||||
<rect id="information" pos="458 43 19 19" />
|
||||
<rect id="kindergarten" pos="184 2 14 19" />
|
||||
<rect id="library" pos="372 22 9 18" />
|
||||
<rect id="mosque" pos="248 2 17 15" />
|
||||
<rect id="oneway" pos="275 38 25 7" />
|
||||
<rect id="parking" pos="373 42 20 20" />
|
||||
<rect id="peak" pos="267 9 9 8" />
|
||||
<rect id="petrolStation" pos="263 19 14 17" />
|
||||
<rect id="pharmacy" pos="479 43 19 19" />
|
||||
<rect id="playground" pos="223 18 18 18" />
|
||||
<rect id="postbox" pos="232 2 14 14" />
|
||||
<rect id="postoffice" pos="172 23 19 19" />
|
||||
<rect id="pub" pos="326 26 14 14" />
|
||||
<rect id="railway-crossing" pos="275 47 28 15" />
|
||||
<rect id="railway-crossing-small" pos="155 32 15 9" />
|
||||
<rect id="recycling" pos="72 11 19 18" />
|
||||
<rect id="restaurant" pos="356 28 14 12" />
|
||||
<rect id="school" pos="200 2 14 19" />
|
||||
<rect id="shelter" pos="33 4 26 24" />
|
||||
<rect id="soccer-borderless" pos="102 30 26 32" />
|
||||
<rect id="supermarket" pos="193 23 18 16" />
|
||||
<rect id="synagogue" pos="113 11 15 17" />
|
||||
<rect id="telephone" pos="383 21 7 19" />
|
||||
<rect id="tennis" pos="2 30 32 32" />
|
||||
<rect id="theatre" pos="243 19 18 17" />
|
||||
<rect id="toilets" pos="163 2 19 19" />
|
||||
<rect id="traffic_signal" pos="392 21 7 19" />
|
||||
<rect id="tree" pos="145 2 4 4" />
|
||||
<rect id="university" pos="302 35 19 9" />
|
||||
<rect id="viewpoint" pos="279 20 16 16" />
|
||||
<rect id="vulcan" pos="315 25 9 8" />
|
||||
<rect id="windmill" pos="310 2 13 19" />
|
||||
</atlas>
|
BIN
vtm-themes/resources/assets/icons/osm.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
vtm-themes/resources/assets/icons/osmarender.png
Normal file
After Width: | Height: | Size: 23 KiB |
@ -110,8 +110,7 @@
|
||||
<style-line fade="15" id="building" stroke="#eeb7b6b3" use="fix" />
|
||||
<style-area fade="15" fill="#f2f0eb" id="building" stroke="#b7b6b3" stroke-width="1.0" />
|
||||
|
||||
|
||||
<atlas img="styles/osm.png">
|
||||
<atlas img="icons/osm.png">
|
||||
<rect id="airport" pos="1 40 16 16" />
|
||||
<rect id="atm" pos="19 40 16 16" />
|
||||
<rect id="bar" pos="1 80 20 20" />
|
||||
|
@ -79,7 +79,7 @@
|
||||
<style-line cap="butt" fix="true" id="building" stroke="#303030" width="1.0" />
|
||||
<style-area fade="15" fill="#ee202020" id="building" />
|
||||
|
||||
<atlas img="styles/osmarender.png">
|
||||
<atlas img="icons/osmarender.png">
|
||||
<rect id="airport" pos="226 38 24 24" />
|
||||
<rect id="alpine_hut" pos="198 41 26 21" />
|
||||
<rect id="atm" pos="279 2 14 16" />
|
||||
|
@ -17,7 +17,7 @@
|
||||
<style-text style="bold" id="highway-track" k="name" size="16" stroke="#fff2de"
|
||||
stroke-width="2.0" />
|
||||
|
||||
<atlas img="styles/osmarender.png">
|
||||
<atlas img="icons/osmarender.png">
|
||||
<rect id="airport" pos="226 38 24 24" />
|
||||
<rect id="alpine_hut" pos="198 41 26 21" />
|
||||
<rect id="atm" pos="279 2 14 16" />
|
||||
|
@ -79,7 +79,7 @@
|
||||
<style-line cap="butt" fix="true" id="building" stroke="#dd888888" width="1.5" />
|
||||
<style-area fade="15" fill="#ee202020" id="building" />
|
||||
|
||||
<atlas img="styles/osmarender.png">
|
||||
<atlas img="icons/osmarender.png">
|
||||
<rect id="airport" pos="226 38 24 24" />
|
||||
<rect id="alpine_hut" pos="198 41 26 21" />
|
||||
<rect id="atm" pos="279 2 14 16" />
|
||||
|
@ -74,9 +74,6 @@ public class XmlThemeBuilder extends DefaultHandler {
|
||||
private static final String ELEMENT_NAME_MATCH = "m";
|
||||
private static final String UNEXPECTED_ELEMENT = "unexpected element: ";
|
||||
|
||||
//private static final String IMG_PATH = "styles/";
|
||||
private static final String IMG_PATH = "";
|
||||
|
||||
private static final String LINE_STYLE = "L";
|
||||
private static final String OUTLINE_STYLE = "O";
|
||||
private static final String AREA_STYLE = "A";
|
||||
@ -558,7 +555,7 @@ public class XmlThemeBuilder extends DefaultHandler {
|
||||
}
|
||||
validateExists("img", img, elementName);
|
||||
|
||||
Bitmap bitmap = CanvasAdapter.getBitmapAsset(IMG_PATH + img);
|
||||
Bitmap bitmap = CanvasAdapter.getBitmapAsset(img);
|
||||
mTextureAtlas = new TextureAtlas(bitmap);
|
||||
}
|
||||
|
||||
|