I'm currently using AR.labels to add some information to POIs. However, if two labels collide (i.e. if two POIs are near enough to each other) I would like to hide the label of the POI which is further away of the users current position.
Hence, the question is: is there a way to detect if two labels / drawables collide?
about 6 years ago
There is currently no method that gives you overlapping drawables. This is something that's on our roadmap but no release timeline has been set.
You can calcualte probable overlaps by looking at the direction each point lies. This allows you to check if points could be overlapping and to hide points that are further away.