Bug 12337 - Label positions are not stable
Summary: Label positions are not stable
Status: NEW
Alias: None
Product: roadster
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium trivial
Assignee: Jeff Garrett
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-08 05:09 UTC by Jeff Garrett
Modified: 2007-09-08 09:27 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jeff Garrett 2007-09-08 05:09:37 UTC
Drag the map.  They can change.
Comment 1 Ian McIntosh 2007-09-08 09:27:49 UTC
The reason they jump around, of course, is that they attempt to find the "best" position for any given view of the map.

"Best" is defined as:
- entirely visible (not clipped at screen edge)
- not obscured by other map objects
- on a reasonably straight part of the road

If they were made "stable" instead of adaptive then we'd have some other problems:
- roads not labeled at all in a given view
- labels clipped at the screen edge
- labels obscured by eg. a POI popup box

Since we'll be printing the map, the above problems are pretty serious.

Possible remedies:
- Draw the same label many times, hoping that at least one is visible.  This is what Google Maps does, out of necessity.  It adds a lot of clutter.
- Reduce the negative aspects of "jumping labels", perhaps by having them fade in and out smoothly.  (Must they fade out?  Maybe just wait until they're off screen and then remove them?)

My vote is for keeping the adaptive behavior and maybe some day adding the fading.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.