Topic: OnlineMapsControlBase3D ignores HitTest() when displaying tooltips

OnlineMapsControlBase3D.AfterUpdate() will always display a tooltip even if an overridden OnlineMapsControlBase.HitTest() returns false (such as when a menu is over the map so you don't want the tooltip to show).

I don't use NGUI, but I think the tooltip would probably show when an NGUI menu is over a marker on the map.

I'm using v2.5.29.1.

This is the code in AfterUpdate() that turns on the tooltip:

        if (map.showMarkerTooltip == OnlineMapsShowMarkerTooltip.onHover)
        {
            OnlineMapsMarkerInstanceBase markerInstance = GetBillboardMarkerFromScreen(inputPosition);
            if (markerInstance != null)
            {
                map.tooltip = markerInstance.marker.label;
                map.tooltipMarker = markerInstance.marker;
            }
        }

Re: OnlineMapsControlBase3D ignores HitTest() when displaying tooltips

Hello.

Thank you for bug report.
The problem is fixed.
The new version will be available through the built-in update system on Monday.

Kind Regards,
Infinity Code Team

Re: OnlineMapsControlBase3D ignores HitTest() when displaying tooltips

Great, thanks for the fast response!