[fusion-commits] r1637 - in trunk: lib widgets widgets/MapWidget widgets/OverviewMap

svn_fusion at osgeo.org svn_fusion at osgeo.org
Wed Nov 5 10:34:13 EST 2008


Author: madair
Date: 2008-11-05 10:34:12 -0500 (Wed, 05 Nov 2008)
New Revision: 1637

Added:
   trunk/widgets/MapWidget/
   trunk/widgets/MapWidget/MapWidget.css
   trunk/widgets/OverviewMap/
   trunk/widgets/OverviewMap/OverviewMap.css
   trunk/widgets/OverviewMap/blank.gif
Modified:
   trunk/lib/Map.js
   trunk/widgets/OverviewMap.js
Log:
re #148: restore OL styles for OverviewMap and MapWidget zoom rectangles

Modified: trunk/lib/Map.js
===================================================================
--- trunk/lib/Map.js	2008-11-05 14:38:13 UTC (rev 1636)
+++ trunk/lib/Map.js	2008-11-05 15:34:12 UTC (rev 1637)
@@ -128,6 +128,7 @@
             this.oMapOL = new OpenLayers.Map(this._sDomObj, options );
         }
         
+        Fusion.addWidgetStyleSheet(widgetTag.location + 'MapWidget/MapWidget.css');
         this.oMapOL.viewPortDiv.style.position = 'absolute';  //not the top level container so set it to absolute
         this.oMapOL.viewPortDiv.style.zIndex = 0;   //must explicitly set the z-index for FF3
         

Added: trunk/widgets/MapWidget/MapWidget.css
===================================================================
--- trunk/widgets/MapWidget/MapWidget.css	                        (rev 0)
+++ trunk/widgets/MapWidget/MapWidget.css	2008-11-05 15:34:12 UTC (rev 1637)
@@ -0,0 +1,10 @@
+.olHandlerBoxZoomBox {
+    border: 2px solid red;
+    position: absolute;
+    background-color: white;
+    opacity: 0.50;
+    font-size: 1px;
+    filter: alpha(opacity=50);
+}
+
+

Added: trunk/widgets/OverviewMap/OverviewMap.css
===================================================================
--- trunk/widgets/OverviewMap/OverviewMap.css	                        (rev 0)
+++ trunk/widgets/OverviewMap/OverviewMap.css	2008-11-05 15:34:12 UTC (rev 1637)
@@ -0,0 +1,8 @@
+.olControlOverviewMapExtentRectangle {
+    overflow: hidden;
+    background-image: url("blank.gif");
+    cursor: move;
+    border: 2px dotted red;
+}
+
+

Added: trunk/widgets/OverviewMap/blank.gif
===================================================================
(Binary files differ)


Property changes on: trunk/widgets/OverviewMap/blank.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: trunk/widgets/OverviewMap.js
===================================================================
--- trunk/widgets/OverviewMap.js	2008-11-05 14:38:13 UTC (rev 1636)
+++ trunk/widgets/OverviewMap.js	2008-11-05 15:34:12 UTC (rev 1637)
@@ -67,6 +67,7 @@
             jxl.addEvent('sizeChange', OpenLayers.Function.bind(this.sizeChanged, this));
         }
         
+        Fusion.addWidgetStyleSheet(widgetTag.location + 'OverviewMap/OverviewMap.css');
         this.oMapOptions = {
             theme: null
         };  //TODO: allow setting some mapOptions in AppDef



More information about the fusion-commits mailing list