Fix: Labels & co. by Sublimis ยท Pull Request #1579 ยท mapsforge/mapsforge

@Sublimis

* Fix ๐Ÿž: Nondeterministic labels, i.e. certain labels sometimes appear, sometimes not, everything else the same. (This bug has been bothering us for the last cca 10 years!)
* Fix ๐Ÿž: Better label overlap avoidance algorithm
* Fix ๐Ÿž: Label overlap check not refreshed on map rotation
* Android: Label space now includes a small padding when checking for overlap (avoids placing labels too close together, which can sometimes appear as one word)
* Android: Better handling of multiline labels
* Android: Test for label overlap algorithm

devemux86

* Fix ๐Ÿž: Nondeterministic labels, i.e. certain labels sometimes appear, sometimes not, everything else the same. (This bug has been bothering us for the last cca 10 years!)
* Fix ๐Ÿž: Better label overlap avoidance algorithm
* Fix ๐Ÿž: Label overlap check not refreshed on map rotation
* Android: Label space now includes a small padding when checking for overlap (avoids placing labels too close together, which can sometimes appear as one word)
* Android: Better handling of multiline labels
* PATCH: Test for label overlap algorithm (AWT)
* Fix ๐Ÿž: Nondeterministic labels, i.e. certain labels sometimes appear, sometimes not, everything else the same. (This bug has been bothering us for the last cca 10 years!)
* Fix ๐Ÿž: Better label overlap avoidance algorithm
* Fix ๐Ÿž: Label overlap check not refreshed on map rotation
* Android: Label space now includes a small padding when checking for overlap (avoids placing labels too close together, which can sometimes appear as one word)
* Android: Better handling of multiline labels
* Test for label overlap algorithm (AWT)

devemux86

devemux86

devemux86

devemux86

devemux86

devemux86

devemux86

devemux86

@Sublimis

* Fix ๐Ÿž: Nondeterministic labels, i.e. certain labels sometimes appear, sometimes not, everything else the same. (This bug has been bothering us for the last cca 10 years!)
* Fix ๐Ÿž: Better label overlap avoidance algorithm
* Fix ๐Ÿž: Label overlap check not refreshed on map rotation
* Label space now includes a small padding when checking for overlap (avoids placing labels too close together, which can sometimes appear as one word)
* Android: Better handling of multiline labels
* Test for label overlap algorithm (AWT)

devemux86

devemux86

devemux86

devemux86

@Sublimis

* Fix ๐Ÿž: Nondeterministic labels, i.e. certain labels sometimes appear, sometimes not, everything else the same. (This bug has been bothering us for the last cca 10 years!)
* Fix ๐Ÿž: Better label overlap avoidance algorithm
* Fix ๐Ÿž: Label overlap check not refreshed on map rotation
* Label space now includes a small padding when checking for overlap (avoids placing labels too close together, which can sometimes appear as one word)
* Android: Better handling of multiline labels
* Test for label overlap algorithm (AWT)

@Sublimis

โ€ฆr, sometimes not, everything else the same. (This bug has been bothering us for the last cca 10 years!)

* Fix ๐Ÿž: Better label overlap avoidance algorithm
* Fix ๐Ÿž: Label overlap check not refreshed on map rotation
* Label space now includes a small padding when checking for overlap (avoids placing labels too close together, which can sometimes appear as one word)
* Android: Better handling of multiline labels
* Test for label overlap algorithm (AWT)
* PointTextContainer.DEBUG_CLASH_BOUNDS flag

@Sublimis

โ€ฆr, sometimes not, everything else the same. (This bug has been bothering us for the last cca 10 years!)

* Fix ๐Ÿž: Better label overlap avoidance algorithm
* Fix ๐Ÿž: Label overlap check not refreshed on map rotation
* Label space now includes a small padding when checking for overlap (avoids placing labels too close together, which can sometimes appear as one word)
* Android: Better handling of multiline labels
* Test for label overlap algorithm (AWT)
* PointTextContainer.DEBUG_CLASH_BOUNDS flag

devemux86

@Sublimis

This was referenced

Jan 18, 2025