public void addMarker(TweetObject tweet) { GameObject cube = GameObject.CreatePrimitive(PrimitiveType.Cube); Vector3 sphereLocation = Conversion.GetSpherePointFromLatLon(new Vector2(tweet.getTweetLat(), tweet.getTweetLong())); //GameObject obj = map.AddMarker(MARKER_TYPE.CIRCLE, sphereLocation, kmRadius, ringWidthStart, ringWidthEnd, Color.green); map.AddMarker(cube, sphereLocation, 0.001f); tweet.setGameObject(cube); }