OpenLayers OpenLayers

Changeset 1658

Show
Ignore:
Timestamp:
10/06/06 13:18:29 (2 years ago)
Author:
sderle
Message:

Add CSS classes to GMaps Terms of Use and Copyright elements.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Layer/Google.js

    r1649 r1658  
    125125            // move the ToS and branding stuff up to the pane 
    126126            // thanks a *mil* Erik for thinking of this 
     127            var poweredBy = this.div.lastChild; 
     128            this.div.removeChild(poweredBy); 
     129            this.pane.appendChild(poweredBy); 
     130            poweredBy.className = "olLayerGooglePoweredBy gmnoprint"; 
     131 
    127132            var termsOfUse = this.div.lastChild; 
    128133            this.div.removeChild(termsOfUse); 
    129134            this.pane.appendChild(termsOfUse); 
    130  
    131             var poweredBy = this.div.lastChild; 
    132             this.div.removeChild(poweredBy); 
    133             this.pane.appendChild(poweredBy); 
    134  
    135              // this causes the GMap to set itself to Map's center/zoom 
     135            termsOfUse.className = "olLayerGoogleCopyright"; 
     136 
     137            // this causes the GMap to set itself to Map's center/zoom 
    136138            this.moveTo(); 
    137139