move up a level
authorRichard Fairhurst <richard@systemed.net>
Fri, 9 Jul 2010 07:32:03 +0000 (07:32 +0000)
committerRichard Fairhurst <richard@systemed.net>
Fri, 9 Jul 2010 07:32:03 +0000 (07:32 +0000)
TODO.txt
net/systemeD/halcyon/Map.as
net/systemeD/halcyon/MapPaint.as
net/systemeD/halcyon/VectorLayer.as [moved from net/systemeD/halcyon/vectorlayers/VectorLayer.as with 98% similarity]
net/systemeD/potlatch2/VectorSourceDialog.mxml
net/systemeD/potlatch2/controller/NoSelection.as

index 271ef23..5d9ef20 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
@@ -4,7 +4,6 @@ Potlatch 2: main outstanding issues
 
 
 ** Slash and burn trace statements
-** Remove SimpleVectorLayer and move CustomVectorLayer into VectorLayer
 
 == Core geometry ==
 
index a27e112..2a96928 100755 (executable)
@@ -16,7 +16,6 @@ package net.systemeD.halcyon {
     import net.systemeD.halcyon.connection.*;
     import net.systemeD.halcyon.connection.EntityEvent;
        import net.systemeD.halcyon.styleparser.*;
-       import net.systemeD.halcyon.vectorlayers.*;
        import net.systemeD.halcyon.Globals;
 
 //     for experimental export function:
index cadc457..8967131 100644 (file)
@@ -7,7 +7,6 @@ package net.systemeD.halcyon {
        import net.systemeD.halcyon.connection.Node;
        import net.systemeD.halcyon.connection.Way;
        import net.systemeD.halcyon.styleparser.RuleSet;
-       import net.systemeD.halcyon.vectorlayers.VectorLayer;
        import net.systemeD.halcyon.Globals;
 
     public class MapPaint extends Sprite {
similarity index 98%
rename from net/systemeD/halcyon/vectorlayers/VectorLayer.as
rename to net/systemeD/halcyon/VectorLayer.as
index 788dbb7..9ef040e 100644 (file)
@@ -1,4 +1,4 @@
-package net.systemeD.halcyon.vectorlayers {
+package net.systemeD.halcyon {
 
        import net.systemeD.halcyon.Map;
        import net.systemeD.halcyon.MapPaint;
index 8edee5f..5349f09 100644 (file)
@@ -54,7 +54,7 @@
 
        import net.systemeD.halcyon.Map;
        import net.systemeD.halcyon.Globals;
-       import net.systemeD.halcyon.vectorlayers.*;
+       import net.systemeD.halcyon.VectorLayer;
        import net.systemeD.potlatch2.utils.Importer;
        import net.systemeD.potlatch2.utils.GpxImporter;
        import net.systemeD.potlatch2.utils.ShpImporter;
     }
 
        private function loadFiles(url:String,filetype:String,simplify:Boolean):void {
-               var vectorlayer:CustomVectorLayer=new CustomVectorLayer(url,map,"potlatch.css");
+               var vectorlayer:VectorLayer=new VectorLayer(url,map,"potlatch.css");
                vectorlayer.url=url;
                map.vectorlayers[url]=vectorlayer;
                map.vectorbg.addChild(vectorlayer.paint);
index bc8d082..d5290f4 100644 (file)
@@ -5,7 +5,6 @@ package net.systemeD.potlatch2.controller {
        import net.systemeD.halcyon.connection.*;
        import net.systemeD.halcyon.Map;
        import net.systemeD.halcyon.MapPaint;
-       import net.systemeD.halcyon.vectorlayers.VectorLayer;
        import net.systemeD.halcyon.Globals;
 
        public class NoSelection extends ControllerState {