1 (edited by guruhenry 2017-08-25 15:56:44)

Topic: how to disable tooltips or map interaction

Hello,
Is it possible to temporarily disable map tooltips or disable map touch interaction?
In my application the user can hide the map overlaying a new opaque panel with some informations and parameters, but the hidden map markers still respond to touch and show the tooltips. Also the zoom interaction is enabled when the map is hidden. I don't want to disable the map due to the time to resume it.

Thanks in advance

Re: how to disable tooltips or map interaction

Hello.

How to disable tooltips:

OnlineMaps.instance.showMarkerTooltip = OnlineMapsShowMarkerTooltip.none;

But there are two ways better:
1. Enable raycast target on the overlapping elements. This will block all interactions with the map.
2. Just move the map out of the screen.

Kind Regards,
Infinity Code Team.

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