Add public transport and platform station. Fix local indexes activity intent

This commit is contained in:
Victor Shcherb 2012-05-28 14:42:42 +02:00
parent c2b3df063a
commit 44f04f5f39
3 changed files with 29 additions and 2 deletions

View file

@ -165,6 +165,12 @@
<type tag="railway" value="subway_entrance" minzoom="15" poi_prefix=""/>
<type tag="railway" value="buffer_stop" minzoom="15" />
</category>
<category name="public_transport" poi_tag="public_transport" poi_category="transportation" poi_prefix="public_transport_">
<type tag="public_transport" value="platform" minzoom="15" />
<type tag="public_transport" value="station" minzoom="15" />
<type tag="public_transport" value="stop_position" minzoom="15" poi_prefix=""/>
</category>
<category name="aeroway" poi_tag="aeroway" poi_category="transportation">

View file

@ -90,9 +90,15 @@
<filter layer="-1" tag="" value="" order="10" objectType="2"/>
<filter tag="" value="" order="11" objectType="2"/>
<group objectType="3" point="false">
<group objectType="3" >
<filter tag="railway" value="platform" order="30" />
<filter tag="railway" value="station" order="30"/>
<filter tag="public_transport" value="station" order="30"/>
<filter tag="public_transport" value="platform" order="30"/>
<groupFilter>
<filter point="false" cycle="true"/>
<filter point="false" area="true"/>
</groupFilter>
</group>
<group objectType="2" area="false" point="false">
@ -413,9 +419,15 @@
<!-- Railroad -->
<filter minzoom="14" maxzoom="14" textSize="12" textColor="#6666ff" textHaloRadius="1" textBold="true" textDy="7" tag="railway" value="station"/>
<filter minzoom="15" textSize="13" textColor="#6666ff" textHaloRadius="1" textBold="true" textDy="7" tag="railway" value="station"/>
<filter minzoom="14" maxzoom="14" textSize="12" textColor="#6666ff" textHaloRadius="1" textBold="true" textDy="7" tag="public_transport" value="station"/>
<filter minzoom="15" textSize="13" textColor="#6666ff" textHaloRadius="1" textBold="true" textDy="7" tag="public_transport" value="station"/>
<filter minzoom="14" maxzoom="14" textSize="12" textColor="#6666ff" textHaloRadius="1" textDy="7" tag="railway" value="halt"/>
<filter minzoom="15" textSize="12" textColor="#6666ff" textHaloRadius="1" textDy="7" tag="railway" value="halt"/>
<filter minzoom="15" textSize="12" textColor="#6666ff" textHaloRadius="1" textDy="7" tag="railway" value="tram_stop"/>
<filter minzoom="14" maxzoom="14" textSize="12" textColor="#6666ff" textHaloRadius="1" textBold="true" textDy="7" tag="public_transport" value="platform"/>
<filter minzoom="15" textSize="13" textColor="#6666ff" textHaloRadius="1" textBold="true" textDy="7" tag="public_transport" value="platform"/>
<filter minzoom="14" maxzoom="14" textSize="12" textColor="#6666ff" textHaloRadius="1" textBold="true" textDy="7" tag="railway" value="platform"/>
<filter minzoom="15" textSize="13" textColor="#6666ff" textHaloRadius="1" textBold="true" textDy="7" tag="railway" value="platform"/>
<!-- Aeroway -->
<filter minzoom="11" textSize="12" textColor="#6692da" textHaloRadius="1" textDy="7" tag="aeroway" value="aerodrome"/>
@ -791,6 +803,15 @@
<filter minzoom="11" tag="railway" value="station" color="#d4aaaa">
<filter nightMode="true" color="#560000"/>
</filter>
<filter minzoom="11" tag="public_transport" value="station" color="#d4aaaa">
<filter nightMode="true" color="#560000"/>
</filter>
<filter minzoom="15" tag="public_transport" value="platform" color="#bababa">
<filter nightMode="true" color="#560000"/>
</filter>
<filter minzoom="15" tag="railway" value="platform" color="#bababa">
<filter nightMode="true" color="#560000"/>
</filter>
<!-- Polygon waterways -->

View file

@ -30,7 +30,7 @@ public class OsmandIntents {
}
public static Class<? extends Activity> getLocalIndexActivity() {
return DownloadIndexActivity.class;
return LocalIndexesActivity.class;
}
}