Topic: 3d marker onclick question and multiple marker with onChangeZoom probs

Hi, onClick Function for 3dMarkers doesn't work. 
based on http://infinity-code.com/atlas/online-m … ample.html

and  I've used your example on MarkerScaleByZoomExample.cs script but im having problems when i'm using multiple 3d Markers, only one of the 3d markers can change size when i zoom in or zoom out.

Post's attachments

Attachment icon FindPlaces (3).cs 3.55 kb, 386 downloads since 2016-08-11 

Re: 3d marker onclick question and multiple marker with onChangeZoom probs

Hello.

You add OnClick for 2d markers.
It should be (line 84):

foreach (OnlineMapsMarker3D marker3D in control.markers3D)

To scale all 3d markers (line 120):

float scale = currentScale / originalScale;
foreach (OnlineMapsMarker3D marker3D in control.markers3D) marker3D.scale = scale;
Kind Regards,
Infinity Code Team.

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