[OpenLayers-Trac] [OpenLayers] #503: OpenLayers.Control.Scale doesn't seem to read correct scale below 1:500
OpenLayers
trac at openlayers.org
Sun Feb 18 06:15:33 EST 2007
#503: OpenLayers.Control.Scale doesn't seem to read correct scale below 1:500
------------------------+---------------------------------------------------
Reporter: openlayers | Owner:
Type: feature | Status: new
Priority: minor | Milestone:
Component: general | Version: 2.3 RC3
Keywords: |
------------------------+---------------------------------------------------
I am using the Control.Scale on a map in metres using a scales array of:
{{{
[10000,5000,2000,1000,500,250,100,50,20,10]
}}}
The Scale control doesn't show the correct scale after 1:500. It shows
'''1:300''' (for 1:250), '''1:100''' (for 1:100), '''1:100''' (for 1:50),
'''1:0''' (for 1:20) and '''1:0''' (for 1:10).
I am using openlayers for documenting archaeological excavations,
therefore the centimetre accuracy is important for us.
Stuart Eve
stuarteve at lparchaeology.com
--
Ticket URL: <http://trac.openlayers.org/ticket/503>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list