Opened 15 years ago
Closed 8 years ago
#4889 closed enhancement (duplicate)
Improve ticks for scale slider
Reported by: | jstein | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description (last modified by )
there are 5 ticks at the scale
|--,--|--,--| 0 249m
why is the 3rd and the 5th tick larger?
The value "249m" is centered below the 4th tick. It should nominate the whole length.
Is it possible, to draw a individual bar with more human readable values?
Zoom A |--,--|--,--| 0 50 100 m Zoom B |---,---|---,---| 0 .5 1 km
Attachments (0)
Change History (7)
comment:1 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 14 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
it looks if only the Line was fixed:
g.drawLine(49, 3, 49, 7);
the ticks should partition the distance in parts that make sense:
BAD:
1/4 of 249m = ?
NICE:
1/4 of 100m = 25 m
comment:3 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
Well, we have no real fine zoom steps, so there would be lots of work involved to have nice parts. Also it would confuse users when the scale changes verytime.
follow-up: 5 comment:4 by , 14 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
Summary: | scale in josm editor area unclear → ticks make no sense Example: (29m /4 Ticks) |
Type: | enhancement → defect |
it would only need to find the next matching scale.
at least each tick should represent an integer value of meter, else the ticks dont make any sense.
its confusion to divide 29 m in quarters, not to change the length of a bar.
There is nothing bad to change this bar to fit the scale of the map.
one could plot
length mod (4 * 10x) = 0 for values (0.. 32) * 10x
length mod (4 * 5 * 10x) = 0 for values (32..100) * 10x
where x is a factor to fit on all scales.
That should be easy to code and the ticks make sense then.
follow-up: 7 comment:5 by , 14 years ago
Replying to jstein:
That should be easy to code and the ticks make sense then.
Go ahead, then. :)
Currently we have too many requests for too view developers. Your suggestion makes sense, but maybe it'll take a while till someone does it.
comment:6 by , 14 years ago
Summary: | ticks make no sense Example: (29m /4 Ticks) → Improve ticks for scale slider |
---|---|
Type: | defect → enhancement |
comment:7 by , 8 years ago
Description: | modified (diff) |
---|---|
Resolution: | → duplicate |
Status: | reopened → closed |
(In [3234]) fixed #4889 - map scale middle line was too long