OpenLayers OpenLayers

Ticket #747: permalink.patch

File permalink.patch, 0.9 kB (added by crschmidt, 1 year ago)
  • theme/default/style.css

    old new  
    2828    bottom: 1.5em; 
    2929    display: block; 
    3030    position: absolute; 
     31    font-size: smaller; 
    3132}  
    3233 
    3334div.olControlMousePosition { 
  • lib/OpenLayers/Control/Permalink.js

    old new  
    8888        if (!this.element) { 
    8989            this.div.className = this.displayClass; 
    9090            this.element = document.createElement("a"); 
    91             this.element.style.fontSize="smaller"; 
    9291            this.element.innerHTML = "Permalink"; 
    9392            this.element.href=""; 
    9493            this.div.appendChild(this.element);