GreetingsCould you please give me a hint: are there any features for managing order of XamGeographicMap series items?How I have map with GeographicSymbolSeries seriesItemSource of this series was binded to ICollectionViewSource, that was ordered by specific "SortDescription"This ICollectionViewSource can affects on series items ordering, but if I drag map from area with bunch of series items, leaved this items behind viewport, then drag previous map area back, ordering of GeographicSymbolSeries will be messed.I guess, this happens because of some map rendering oprimization...
So, are there any ways to prevent this behaviour? I need that some specific items from this series will be displayed always on top
Thanks in advance!
Hello Andrew,Thank you for reply
Andrew Goldenbaum said:The first is that you move the specific items that you want to render on top to a separate GeographicSymbolSeries.
Thank you for replyYes sure, this was my solution to this problem too :) but I wanted to know, if I can avoid this. It would be much more convenient if I could only leave one seriesSo, OK, I understand, there is no some workaround to do this with a single series
Andrew Goldenbaum said:Something else you can try in this case is to utilize the Canvas.ZIndex, but this will only have the potential to work if you provide a MarkerTemplate to the GeographicSymbolSeries, which I am not sure if you are doing.
Of course, I'm using MarkerTemplate and have already tried to using Canvas.ZIndex property. It won't work
Anyway, thank you for the advice
Hello Vjacheslav,
I have been investigating into the behavior you are seeing in this case, and if there are specific items in the GeographicSymbolSeries that you want to always render on top, I have a couple of recommendations for you in this case.
The first is that you move the specific items that you want to render on top to a separate GeographicSymbolSeries. The reason for this is because if you have everything in the same GeographicSymbolSeries, they will be rendered in the same Canvas and if you move some symbols away from the viewport, they will not be rendered until they come back, and this may not be in the same order.
Something else you can try in this case is to utilize the Canvas.ZIndex, but this will only have the potential to work if you provide a MarkerTemplate to the GeographicSymbolSeries, which I am not sure if you are doing.
Please let me know if you have any other questions or concerns on this matter.