Position Object on an Indoor Map

Place an object inside an Indoor Map, at an elevation above a chosen floor, using a GeographicTransform. This works in both Unity and ECEF coordinate systems.

To run this example, open the Wrld/Demo/Examples.unity scene, click the Play button, and select Position Object on an Indoor Map from the dropdown.

Position Object on an Indoor Map

  1. Create an empty GameObject in the scene hierarchy.
  2. Attach the GeographicTransform.cs script to this object.
  3. Set the desired Latitude, Longitude, and Elevation for the object in the Inspector pane.
  4. Set the desired Indoor Map ID and Indoor Map Floor Id for the object in the Inspector pane.
  5. Make the GameObject that you want to place upon the map a child of the GeographicTransform in the scene hierarchy.