Topic: Unity UI map

Not sure if I am missing it but is there a way to use this plugin in the unity UI?. Seems like all old style gui.

Re: Unity UI map

Hello.

You can use the map inside UI:
1. GameObject / Infinity Code / Online Maps / Map Wizard
2. Map type - 2D
3. Control - UI Image or UI RawImage

But by default, tooltips will still use the old UI system.
You can work around this in this way:
http://infinity-code.com/atlas/online-m … ample.html

Kind Regards,
Infinity Code Team

Re: Unity UI map

Will try this. Thanks

Re: Unity UI map

This worked Thanks. however when I zoom in/to a certain level. Unity freezes but it still responding. My whole ring slows down at this point.

Any Idea what may be causing this?

Re: Unity UI map

What is the texture size you use?
And, please attach a screenshot of your settings.

Kind Regards,
Infinity Code Team

Re: Unity UI map

Resolution is 512.

https://imgur.com/a/AMovI

Re: Unity UI map

Video:
https://www.dropbox.com/s/mzrqk69az24xv … 1.mp4?dl=0
I missed something?

Perhaps this video will help you find the problem.
If the problem persists, please send your scene/project to us (support@infinity-code.com).
To make it clear:
I do not need your working project. I need any project where the problem is appears.

Kind Regards,
Infinity Code Team

8 (edited by xenetics 2017-10-13 15:58:29)

Re: Unity UI map

I redid it after watching your video and I get the same issue. Unity locks up when scrolling in and out a lot. Takes 05 CPU and only sitting at 300mb memory. It seems like its trying to do something in the back since my whole pc becomes sluggish. I have waited 10 minutes for something to happen and nothing.

Yah the only thing you did not do is set Provider to google maps and the type to terrain.

Also the tooltip. I'm not confident I have made it right. Is it just a text UI Object?

9 (edited by xenetics 2017-10-13 19:05:46)

Re: Unity UI map

So after some more testing I have determined it is the labels. At least I am pretty sure. As it only happens on close zoom.

Re: Unity UI map

A screenshot of my tooltip prefab is attached.

Post's attachments

img1.png 100.85 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.
Kind Regards,
Infinity Code Team

Re: Unity UI map

ok yep nothing wrong there.

Re: Unity UI map

So It does appear everything is set up the same as you. In your video you did not set it to google maps in terrain mode and zoom in and out to the extremes fast. For me it seems to happen when zooming but more so the further I zoom.

Re: Unity UI map

Also just to note. The project throws no errors prior to or following this issue. Once it happens it emulates not responding but is still technically responding. At first glance, this seems like a threading issue. I dunno if any threading is happening in the plugins on DLL side.