Community

Topic: Xamarin component

Geo Markers overlap

Nun Dabold
Wednesday, January 24, 2018

We have a number of Geo Markers close together and they overlap each other. I've read either in the community or documentation that markers are drawn in depth order ie. the markers furthest away are drawn first, closer markers appear on top.
I've added a distance to the label for each marker and I can clearly see they are NOT drawn in distance order, markers further away are often drawn on top of closer markers.
My question is, what order are markers drawn and is there any way to either change it or force them to draw in distance order?
Also, are we able to change the Y position of the markers to help avoid overlapping? Thanks

user profile image
Support Team  (expert)
Tuesday, January 30, 2018

Hi,
you define the markers order in the GeoElement list specified when you call the setGeoElements method (the last item will be drawn on top).
Markers always remain on the same Y value that can not be changed with the current version.
Best regards,

Nun Dabold
Wednesday, January 31, 2018

It's not working as expected then.
I'm adding 10 points with the name 1 through 10 in numerical order ascending from 1 to 10. They are NOT drawing in either the order added or distance order.
In fact, if I lower the screen to see the map view and then lift the screen to open AR view, the points are drawn in a different order each time. There's no consistency in it at all.

user profile image
Support Team  (expert)
Saturday, February 3, 2018

Hi,
on which platform does the problem arise? iOS, Android or both?
Best regards,

Sign in to add a comment