[OpenLayers-Trac] [OpenLayers] #1478: Display only one unit on ScaleLine
OpenLayers
trac at openlayers.org
Wed Apr 16 02:20:55 EDT 2008
#1478: Display only one unit on ScaleLine
--------------------------------+-------------------------------------------
Reporter: openlayers | Owner: tschaub
Type: bug | Status: new
Priority: minor | Milestone:
Component: Control.ScaleLine | Version: 2.6 RC1
Resolution: | Keywords:
State: |
--------------------------------+-------------------------------------------
Changes (by zspitzer):
* type: feature => bug
Comment:
I am seeing this as well, it bombs out in IE in scaleline.js at line 191
at
this.eBottom.style.width = Math.round(bottomPx) + "px";
bottomPx is NaN when the bottom stuff is disabled
I am not sure where i found the documentation on doing it this way, but it
is supported in Draw function
--
Ticket URL: <http://trac.openlayers.org/ticket/1478#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list