Add full selection from P1, and minor layout changes
authorAndy Allan <gravitystorm@gmail.com>
Fri, 8 Jan 2010 18:50:12 +0000 (18:50 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Fri, 8 Jan 2010 18:50:12 +0000 (18:50 +0000)
net/systemeD/potlatch2/BackgroundSelector.mxml
net/systemeD/potlatch2/StyleSelector.mxml

index e85737e..0e6c1a0 100644 (file)
@@ -2,15 +2,21 @@
 <mx:VBox
        xmlns:mx="http://www.adobe.com/2006/mxml"
        paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10"
-       horizontalAlign="left" backgroundColor="white" >
+       horizontalAlign="left" backgroundColor="white" borderStyle="inset">
        
-       <mx:List width="100%" height="100%" id="background" change="updateBackground();"> 
+       <mx:List width="100%" height="100%" id="background" change="updateBackground();" verticalScrollPolicy="on"
            <!-- This should be pulled in from an XML file rather than sitting in the source -->
            <mx:dataProvider>
                <mx:Object label="None" data="" />
                <mx:Object label="Yahoo!" data="yahoo" />
-               <mx:Object label="New Popular Edition" data="http://npe.openstreetmap.org/$z/$x/$y.png" />
-               <mx:Object label="OpenCycleMap" data="http://andy.sandbox.cloudmade.com/tiles/cycle/$z/$x/$y.png" />
+            <mx:Object label="OSM - Mapnik" data="http://tile.openstreetmap.org/$z/$x/$y.png" />
+            <mx:Object label="OSM - Osmarender" data="http://tah.openstreetmap.org/Tiles/tile/$z/$x/$y.png" />
+            <mx:Object label="OSM - Maplint (errors)" data="http://tah.openstreetmap.org/Tiles/maplint/$z/$x/$y.png" />
+            <mx:Object label="OpenCycleMap" data="http://andy.sandbox.cloudmade.com/tiles/cycle/$z/$x/$y.png" />
+            <mx:Object label="UK historic: 1:25k" data="http://ooc.openstreetmap.org/os1/$z/$x/$y.png" />
+            <mx:Object label="UK historic: 7th" data="http://ooc.openstreetmap.org/os7/$z/$x/$y.png" />
+            <mx:Object label="UK historic: NPE" data="http://ooc.openstreetmap.org/npe/$z/$x/$y.png" />
+            <mx:Object label="Australia: NearMap" data="http://www.nearmap.com/maps/nml=Vert&amp;zxy=$z,$x,$y" />
            </mx:dataProvider>
        </mx:List>
        <mx:CheckBox width="100%" label="Dim background" selected="true" id="dim"
index e9f6f01..b2e5609 100644 (file)
@@ -2,7 +2,7 @@
 <mx:VBox
        xmlns:mx="http://www.adobe.com/2006/mxml"
        paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10"
-       horizontalAlign="left" backgroundColor="white" >
+       horizontalAlign="left" backgroundColor="white" borderStyle="inset">
        
        <mx:List width="100%" height="100%" id="mapStyle" change="updateMapStyle();"> 
            <!-- This should be pulled in from an XML file rather than sitting in the source -->