Unity Package

Tag Suggestions

You can get non project-specific tags, for example as Tag suggestions for a possible Custom Point Of Interest.

How to use

There is a simple call that you have to do somewhere in your code if you want to get the tags.

Thoughtfish.Coala.Core.Network.Tags.OnAnswerReceived += OnListReceived;

Thoughtfish.Coala.Core.Network.Tags.OnError += OnErrorReceived;

Thoughtfish.Coala.Core.Network.Tags.Get( currentPos );

The Input of the Get function is GPSCoordinates currentPos.

OnAnswerReceived will return an object of type

public class Suggestions

{

public List<string> tags;


public Suggestions();

}

In the generic list you will find all the tags that COALA had for the coordinates given.