diff --git a/lib/OpenLayers/Layer/Google.js b/lib/OpenLayers/Layer/Google.js index b1c43181e1..36f176fe5f 100644 --- a/lib/OpenLayers/Layer/Google.js +++ b/lib/OpenLayers/Layer/Google.js @@ -128,11 +128,15 @@ OpenLayers.Layer.Google.prototype = this.div.removeChild(poweredBy); this.pane.appendChild(poweredBy); poweredBy.className = "olLayerGooglePoweredBy gmnoprint"; + poweredBy.style.left = ""; + poweredBy.style.bottom = ""; var termsOfUse = this.div.lastChild; this.div.removeChild(termsOfUse); this.pane.appendChild(termsOfUse); termsOfUse.className = "olLayerGoogleCopyright"; + termsOfUse.style.right = ""; + termsOfUse.style.bottom = ""; // this causes the GMap to set itself to Map's center/zoom this.moveTo(); diff --git a/theme/default/style.css b/theme/default/style.css index e56b12a44a..1d9701a834 100644 --- a/theme/default/style.css +++ b/theme/default/style.css @@ -9,4 +9,12 @@ bottom: 1.5em; display: block; position: absolute; +} +.olLayerGoogleCopyright { + left: 2px; + bottom: 2px; +} +.olLayerGooglePoweredBy { + left: 2px; + bottom: 15px; }