Topic: Marker created at center of map is 1 unit off
Hi Alex
I've be doing some prototyping with the tileset map demo, and noticed that the 3D marker created on gps loc changed event is not actually located at 0,0,0; which should be the center of the map. Here's my marker creation:
var marker3D = OnlineMapsMarker3DManager.CreateItem(markerPosition, markerPrefab);
Debug.Log("3D marker created at map GO pos: " + marker3D.instance.gameObject.transform.position.ToString());3D marker created at map GO pos: (1.0, 0.0, -1.0)
Along with creating the 3D map marker, I also spawn a game object into the scene as follows:
var arObjPos = Camera.main.transform.position;
arObjPos.y = 0;
Debug.Log("spawned AR scene object at pos: " + arObjPos.ToString());spawned AR scene object at pos: (0.0, 0.0, 0.0)
As I mentioned, it's the tileset control demo with a location service component added. Demo scene camera is at (-512, 1024, 512). Loc services uses update map setting.
Anyway, since the marker is at (1,0,-1) I thought that might be something you were doing, or maybe it was just accuracy variance, or worse yet something stupid I was doing. I tried re-creating the tileset demo with this setup multiple times and the result is always the same.
Any ideas? Thanks.