소스 검색

fixed wrong Attributes

MapviewRenderer now uses typeofDevice instead of device.type
jascha Bohne 8 년 전
부모
커밋
0d2f568d56
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scopviz/src/main/java/de/tu_darmstadt/informatik/tk/scopviz/ui/mapView/MapViewFunctions.java

+ 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