Explorar el Código

fixed wrong Attributes

MapviewRenderer now uses typeofDevice instead of device.type
jascha Bohne hace 8 años
padre
commit
0d2f568d56

+ 1 - 1
scopviz/src/main/java/de/tu_darmstadt/informatik/tk/scopviz/ui/mapView/MapViewFunctions.java

@@ -110,7 +110,7 @@ public final class MapViewFunctions {
 				nodePositions.add(geoPos);
 
 				// Create waypoints with device type dependent pictures
-				String deviceType = (String) node.getAttribute("device.type");
+				String deviceType = (String) node.getAttribute("typeofDevice");
 				URL resource = getDeviceType(deviceType);
 
 				// create a new waypoint with the node information