Refactor BugLayer to extend connection, and rename it to BugConnection to save confusion
[potlatch2.git] / net / systemeD / potlatch2 / collections / VectorBackgrounds.as
index b84f89566e42bba0763c61ba41d0bd25c08597cd..1ced4e35abe76cf1f2f1fee89fa9d990db95c913 100644 (file)
@@ -44,19 +44,19 @@ package net.systemeD.potlatch2.collections {
                 case "KMLImporter":
                   break;
                 case "GPXImporter":
                 case "KMLImporter":
                   break;
                 case "GPXImporter":
-                  if (set.url) {
-                    if (set.@loaded == "true") {
-                      name ||= 'GPX file';
-                                         // >>>> REFACTOR: VectorLayer commented out
-                      // var layer:VectorLayer = new VectorLayer(name, _map, 'stylesheets/gpx.css');
-                      // _map.addVectorLayer(layer);
-                      // var gpxImporter:GpxImporter = new GpxImporter(layer, layer.paint, [String(set.url)]);
-                    } else {
-                      trace("configured but not loaded isn't supported yet");
-                    }
-                  } else {
-                    trace("AutoVectorBackground: no url for GPXImporter");
-                  }
+//                   if (set.url) {
+//                     if (set.@loaded == "true") {
+//                       name ||= 'GPX file';
+//                                       // >>>> REFACTOR: VectorLayer commented out
+//                       // var layer:VectorLayer = new VectorLayer(name, _map, 'stylesheets/gpx.css');
+//                       // _map.addVectorLayer(layer);
+//                       // var gpxImporter:GpxImporter = new GpxImporter(layer, layer.paint, [String(set.url)]);
+//                     } else {
+//                       trace("configured but not loaded isn't supported yet");
+//                     }
+//                   } else {
+//                     trace("AutoVectorBackground: no url for GPXImporter");
+//                   }
                   break;
 
                 case "BugLoader":
                   break;
 
                 case "BugLoader":