Ticket #748: Openlayers.Control.Scale.StyleToCSS.patch
| File Openlayers.Control.Scale.StyleToCSS.patch, 489 bytes (added by openlayers, 2 years ago) |
|---|
-
Scale.js
old new 33 33 if (!this.element) { 34 34 this.element = document.createElement("div"); 35 35 this.div.className = this.displayClass; 36 this.element.style.fontSize="smaller";37 36 this.div.appendChild(this.element); 38 37 } 39 38 this.map.events.register( 'moveend', this, this.updateScale);
