Hello.
Markers have a lot logic that works for each marker.
Of course, if you have a lot of markers, it will be slow.
To make this work fast, you need to make your own marker system.
In your case, 3D marker system.
General logic of marker system:
If the coordinates of the marker on the visible part of the map:
* If the marker does not exist, create it.
* Update the position of marker.
If the coordinates of the marker is outside of the visible part of the map, and it exists, remove it.
Fastest way to find the position of the marker in the scene see TrafficSimulation.OnRenderObject.
http://forum.infinity-code.com/viewtopi … 1142#p1142
If someone finds a way to further optimize this code, please let me know.
But for 100k markers that will be not enough.
You need to minimize the number of markers, for which you need to make a calculation.
Here you will help the idea from the example with a million markers.
The main idea is: you split the map into small areas, such as 10x10 degrees or less, and calculates only the areas that are on the map.
Kind Regards,
Infinity Code Team.
Boost your productivity a lot and immediately using
Ultimate Editor Enhancer.
Trial and non-commerce versions available.