Changeset 21867 in osm


Ignore:
Timestamp:
2010-06-21T18:52:01+02:00 (14 years ago)
Author:
roland
Message:

Public Transport: Trolleybus added

Location:
applications/editors/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/public_transport/src/public_transport/RoutePatternAction.java

    r20896 r21867  
    576576      /*JComboBox*/ comboBox = new JComboBox();
    577577      comboBox.addItem("bus");
     578      comboBox.addItem("trolleybus");
    578579      comboBox.addItem("tram");
    579580      comboBox.addItem("light_rail");
     
    17731774          stopValue = "bus_stop";
    17741775        }
     1776        else if ("trolleybus".equals(currentRoute.get("route")))
     1777        {
     1778          stopKey = "highway";
     1779          stopValue = "bus_stop";
     1780        }
    17751781        else if ("tram".equals(currentRoute.get("route")))
    17761782        {
     
    18631869          String routeVal = currentRel.get("route");
    18641870          if ("bus".equals(routeVal))
     1871            relRefs.add(new RouteReference(currentRel));
     1872          else if ("trolleybus".equals(routeVal))
    18651873            relRefs.add(new RouteReference(currentRel));
    18661874          else if ("tram".equals(routeVal))
Note: See TracChangeset for help on using the changeset viewer.