Topic: 3D Marker not showing on map

Hi,

I am trying to create a 3D marker on a map however the object is not showing when I run the code.
I am following the example http://infinity-code.com/atlas/online-m … ample.html

The prefab that I am using is a simple cube (for now).

I have attached a screenshot of the problem which is that the prefab inside the OnlineMapsMarker3D is not active.
The prefab in the project is set to active but when the 3D marker is created it is deactivated for some reason.

I have tried the following code, which has not solved the problem yet.

 
        prefab.SetActive(true);
        locationMarker.prefab.SetActive(true);

Anyone have any ideas on how to make the objects show when I run the code in the above example?

Post's attachments

Attachment icon screenshot.png 211.06 kb, 91 downloads since 2017-09-19 

Re: 3D Marker not showing on map

Hello.

Most likely you have mixed the latitude and longitude.
If your coordinates is double: the first parameter is the longitude, the second is the latitude.
If you use Vector2: X is the longitude, Y is the latitude.
Please make sure you use the correct coordinates.

If the problem persists, please show the code where you create the markers.

Kind Regards,
Infinity Code Team.

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

Re: 3D Marker not showing on map

Thanks thats solved it smile