I work with OpenLayers (although I need more general advice) to create “non-classifying” behavior.
Instead of folding several functions close to each other at a given zoom level into one function, I want to do the opposite: press these functions so that everyone can be visually legible. For my application (traceroute visualization application) the exact location of the function when scaling is basically irrelevant, but it is clear that each function (and shortcut) is of primary importance.
For two functions, the technique seems trivial (find the line defined by the two functions and push it along that line). But what about more than two functions? My geometry is weak - I feel that this problem should be solved with a simple solution, but I don’t know which magic words to use to start my research. Where should I look for how to do this? What methods are known quickly and stably?
Bonus points, if you can point me to resources that will help not only push away the functions, but also change the position of the label so that the functions are close to their correct geographical position.
source
share