#1602 closed enhancement (fixed)
[PATCH #2] ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM)
Reported by: | Markus | Owned by: | framm |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | unspecified | Version: | |
Keywords: | Cc: |
Description
in JOSM ist oben links eine Massstab-Skala.
In der Mitte der Skala ist eine zoomspezifische Längenangabe.
Die Längenangabe wäre eindeutiger, wenn sie am rechten Ende der Skala stünde, und am linken Ende eine Null.
Attachments (2)
Change History (13)
comment:1 by , 16 years ago
Priority: | minor → trivial |
---|---|
Type: | defect → enhancement |
comment:3 by , 16 years ago
Summary: | Masstab in JOSM → Maßstab in JOSM |
---|
comment:4 by , 16 years ago
Summary: | Maßstab in JOSM → ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM) |
---|
comment:7 by , 16 years ago
comment:8 by , 16 years ago
Summary: | ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM) → [PATCH] ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM) |
---|
comment:10 by , 16 years ago
Summary: | [PATCH] ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM) → ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM) |
---|
by , 16 years ago
Attachment: | BetterScaler 2.patch added |
---|
Fixes scaler as proposed without cutting text off; displaying "< 1 m" instead of "0 m" on high zoom
comment:11 by , 16 years ago
Summary: | ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM) → [PATCH #2] ambiguous scale bar rendering (de: unklare Maßstab-Skala in JOSM) |
---|
I'm sorry, I didn't test the patch and it didn't occur to me that the text would be cut off. I've attached a fixed version that works (and I tested this time) and also displays "< 1 m" instead of "0 m" on very high zoom levels. Unfortunately, displaying cm is not possible because of rounding errors that occur e.g. while moving the map around.
The scale texts aren't displayed centered under the left/rightmost vertical bar as this would make things overcomplicated. I found that displaying them left/right aligned suffices to make clear what is meant.
marked #1602 as duplicate, but see it for better visualized (ASCII art) and detailed English description of the proposed enhancement