Topic: Scaling of hundreds of 3D marker onZoom

Hi, I am looking at the example from this link:
http://infinity-code.com/atlas/online-m … ample.html

The code shown here can easily subscribe to the change of zoom when there is 1 marker. In my project, I have created hundreds of 3D markers. Should I subscribe to each marker individually when there is a change of zoom? Or is there a way for me to subscribe all the 3D markers to zoom change?

Re: Scaling of hundreds of 3D marker onZoom

Hello.

If I answer the question as you asked this, then you need to iterate over all 3D markers in the OnChangeZoom method, and set a new scale.

But, 3D markers can do it themselves.
Just set marker.sizeType = SizeType.realWorld and the markers will do this automatically.
https://infinity-code.com/doxygen/onlin … 88ac04bdca

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.