Topic: How to show tooltip with custom data for 3D Markers
Hello everyone
I am a new-bee so please excuse if this is a stupid question.
I want to show tooltip on my 3D markers. I have used the Marker3D_Example.cs script to show the marker. I added custom data to the markers on the lines of MarkerCustomDataExample.cs:
OnlineMapsControlBase3D control = OnlineMapsControlBase3D.instance;
//lat, lng are float values.
OnlineMapsMarker3D marker1 = control.AddMarker3D(new Vector2(lng, lat), markerPrefab);
//city, latitutude, longitude are string values.
OnlineMapsXML xml1 = new OnlineMapsXML("MarkerData");
xml1.Create("ID", city+" "+latitude + " " + longitude);
xml1.Create ("Coordinates", latitude + " " + longitude);
marker1.customData = xml1;
But this doesn't show tooltip.
Can anyone please help me with this?
Thanks
Abhishek