Topic: Markers tooltips on NGUI overlay panels with high depth value.

Hi Guys,

Been working on a small app using OnlineMaps and NGUI.

I am using the NGUI map.
When displaying marker's tooltips these appear above any NGUI item regardless of GUI depth.
Can this be corrected as currently if I display any NGUI item over the map, tooltips still appear above this.

Thanks in advance.

Gus

Post's attachments

Attachment icon tooltips.png 40.37 kb, 108 downloads since 2016-05-03 

Re: Markers tooltips on NGUI overlay panels with high depth value.

I am also using the Playmaker functions.
Perhaps another solution would be to have a playmaker action to disable/enable tooltips.
Regards
Gus

Re: Markers tooltips on NGUI overlay panels with high depth value.

Hello.

Unfortunately, this can not be solved by using built-in tools or playmaker.
But it is easy to solve using Online Maps API.
Example uGUI Tooltip:
http://infinity-code.com/atlas/online-m … ample.html

If you have any problems with the modification of the script for NGUI, please contact us.
We modify the script and give you.

Kind Regards,
Infinity Code Team.

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

Re: Markers tooltips on NGUI overlay panels with high depth value.

Alex Vertax wrote:

We modify the script and give you.

Could you modify please. I really don't have that much experience for this.

Thanks & regards
Gus

Re: Markers tooltips on NGUI overlay panels with high depth value.

Sorry no need for script - I can just turn the markers off to hide the tooltips.

I have the map which resizes depending on device using ngui.

Tooltips appear very far away from Markers.
Any ideas how to adjust this distance.
Thanks again for your help.
Gus

Re: Markers tooltips on NGUI overlay panels with high depth value.

When moving maps tooltips do not appear next to Markers, they seem to be attached to screen position instead.
I hope you can see what I mean from these images...

Post's attachments

Attachment icon a.jpg 67.06 kb, 118 downloads since 2016-05-04 

Re: Markers tooltips on NGUI overlay panels with high depth value.

Hello.

Tooltip is displayed above the mouse cursor.
Maybe you have a red marker with large transparent borders?!
If not, unfortunately, I do not know why this is happening.
If you can send us a scene where we can see and test it, then I can say exactly the cause of the problem.

We modified example of custom tooltip for NGUI (attached).
Perhaps it will be useful for you or other users.

Post's attachments

Attachment icon img1.png 549.17 kb, 103 downloads since 2016-05-05 

Attachment icon NGUICustomTooltipExample.cs 2.39 kb, 148 downloads since 2016-05-05 

Kind Regards,
Infinity Code Team.

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