Topic: Error after upgrading to 3.6

Hi Alex,

I've upgraded from 3.1 to 3.6 and the following remove marker 3D code doesn't work...

        // Remove Marker from the scene
        OnlineMapsControlBase3D control = OnlineMapsControlBase3D.instance;
        if (control != null)
        {
            control.RemoveMarker3D(GetPipMarker3D());
        }

How can I fix this?

Re: Error after upgrading to 3.6

Hello.

Starting with Online Maps v3.0, many APIs have been marked as obsolete so that you have time to fix this.
In Online Maps v3.6, we removed the obsoleted APIs.
To remove 3D marker use OnlineMapsMarker3DManager.RemoveItem.
http://infinity-code.com/doxygen/online … 3dc76b6b3b

Kind Regards,
Infinity Code Team.

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