Topic: Online Maps Marker Manager
I am using onlineMaps newest beta version.
And I have problem when I have 2 markers close to each other.
I am changing 'active' marker (since user can select one), and switching its texture but it appear behind other markers.
I made a code so that selected marker is removed and added again (to be at the end of childern in marker manager), but it doesn't change anything.
Then I noticed to change it so my marker will be last there are 2 solutions :
1) draw is as last element ( no idea how to do that except what I did).
2) change the "Render Queue" from 3000 to 3001 for example.
I am attaching 2 screenshots showing the situation
Maybe maps are redrawing markers by longitude? or something similar.
Is there any function in markerManagers or some script I could use to fix this issue?
Or am I forced to get that markersMesh as componenet, compare textures and if I see my texture used I will change renger queue each time? (I wish to avoid this since it seems like dirty hack, that might bring more problems in the future).