Changeset 14884 in osm for applications
- Timestamp:
- 2009-05-03T19:11:31+02:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingLayer.java
r14423 r14884 37 37 import java.util.ArrayList; 38 38 import java.util.Collection; 39 import java.util.LinkedList;40 39 import java.util.List; 41 import java.util.TreeMap;42 40 43 41 import javax.swing.Icon; … … 97 95 private OsmDataLayer dataLayer; 98 96 99 // /**100 // * Flag that manager activation layer101 // */102 // private boolean layerAdded = false;103 104 97 /** 105 98 * Default constructor … … 158 151 return nearest; 159 152 } 160 161 // /**162 // * Check if layer is load.163 // * @return <code>true</code> Layer load.164 // * <code>false</code> Layer don't load.165 // */166 // public boolean isLayerAdded() {167 // return layerAdded;168 // }169 //170 // /**171 // * Setter layer active.172 // */173 // public void setLayerAdded() {174 // layerAdded = true;175 // }176 153 177 154 /* -
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingModel.java
r14404 r14884 56 56 * Graph to calculate route 57 57 */ 58 public RoutingGraph routingGraph ;58 public RoutingGraph routingGraph=null; 59 59 60 60 /** 61 61 * List of nodes that the route has to traverse 62 62 */ 63 private List<Node> nodes ;63 private List<Node> nodes=null; 64 64 65 65 private List<OsmEdge> path=null; -
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingPlugin.java
r14423 r14884 25 25 * 26 26 */ 27 /* 28 * Christof Dallermassl 29 * christof@dallermassl.at 30 */ 27 31 28 32 29 package com.innovant.josm.plugin.routing; … … 34 31 import static org.openstreetmap.josm.tools.I18n.tr; 35 32 36 import java.lang.reflect.Array;37 33 import java.util.ArrayList; 38 34 … … 223 219 // Set layer on top and select layer, also refresh toggleDialog to reflect selection 224 220 Main.map.mapView.moveLayer(newLayer, 0); 225 // Main.map.mapView.setActiveLayer(newLayer);226 // Main.map.toggleDialogs.repaint();227 221 logger.debug("Added routing layer."); 228 222 }
Note:
See TracChangeset
for help on using the changeset viewer.