[fusion-commits] r2330 - in sandbox/adsk/2.3r/lib/OpenLayers: .
theme/default
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Fri Jan 28 04:22:35 EST 2011
Author: liuar
Date: 2011-01-28 01:22:35 -0800 (Fri, 28 Jan 2011)
New Revision: 2330
Modified:
sandbox/adsk/2.3r/lib/OpenLayers/OpenLayers.js
sandbox/adsk/2.3r/lib/OpenLayers/theme/default/google.css
sandbox/adsk/2.3r/lib/OpenLayers/theme/default/style.css
Log:
Fix the Openlayers powerby popup issue in adsk branch
Modified: sandbox/adsk/2.3r/lib/OpenLayers/OpenLayers.js
===================================================================
--- sandbox/adsk/2.3r/lib/OpenLayers/OpenLayers.js 2011-01-28 09:02:25 UTC (rev 2329)
+++ sandbox/adsk/2.3r/lib/OpenLayers/OpenLayers.js 2011-01-28 09:22:35 UTC (rev 2330)
@@ -31435,6 +31435,11 @@
var cache = OpenLayers.Layer.Google.cache[this.map.id];
var container = this.map.viewPortDiv;
+
+ // move the Map Data popup to the container, if any
+ while (div.lastChild.style.display == "none") {
+ container.appendChild(div.lastChild);
+ }
// move the ToS and branding stuff up to the container div
var termsOfUse = div.lastChild;
Modified: sandbox/adsk/2.3r/lib/OpenLayers/theme/default/google.css
===================================================================
--- sandbox/adsk/2.3r/lib/OpenLayers/theme/default/google.css 2011-01-28 09:02:25 UTC (rev 2329)
+++ sandbox/adsk/2.3r/lib/OpenLayers/theme/default/google.css 2011-01-28 09:22:35 UTC (rev 2330)
@@ -2,8 +2,18 @@
right: 3px;
bottom: 2px;
}
+
+.olLayerGoogleV3.olLayerGoogleCopyright {
+ bottom: 0px;
+ right: 0px !important;
+}
+
.olLayerGooglePoweredBy {
left: 2px;
bottom: 2px;
}
+.olLayerGoogleV3.olLayerGooglePoweredBy {
+ bottom: 15px !important;
+}
+
Modified: sandbox/adsk/2.3r/lib/OpenLayers/theme/default/style.css
===================================================================
--- sandbox/adsk/2.3r/lib/OpenLayers/theme/default/style.css 2011-01-28 09:02:25 UTC (rev 2329)
+++ sandbox/adsk/2.3r/lib/OpenLayers/theme/default/style.css 2011-01-28 09:22:35 UTC (rev 2330)
@@ -15,12 +15,22 @@
.olLayerGoogleCopyright {
left: 2px;
- bottom: 2px;
+ bottom: 2px;
}
+
+.olLayerGoogleV3.olLayerGoogleCopyright {
+ right: auto !important;
+}
+
.olLayerGooglePoweredBy {
left: 2px;
bottom: 15px;
}
+
+.olLayerGoogleV3.olLayerGooglePoweredBy {
+ bottom: 15px !important;
+}
+
.olControlAttribution {
font-size: smaller;
right: 3px;
More information about the fusion-commits
mailing list