Fix reprojecting bug
authorRichard Fairhurst <richard@systemeD.net>
Fri, 1 Jun 2012 15:45:30 +0000 (16:45 +0100)
committerRichard Fairhurst <richard@systemeD.net>
Fri, 1 Jun 2012 15:45:30 +0000 (16:45 +0100)
net/systemeD/potlatch2/utils/ShpImporter.as

index 115ce40..f789ab7 100644 (file)
@@ -15,7 +15,7 @@ package net.systemeD.potlatch2.utils {
                private var projection:String;
 
                public function ShpImporter(connection:Connection, map:Map, callback:Function=null, simplify:Boolean=false, options:Object=null) {
-                       if (options[projection]) this.projection=options[projection];
+                       if (options['projection']) this.projection=options['projection'];
                        super(connection,map,callback,simplify,options);
                }