Titania X3D Editor

It starts with you!

Titania v3.0.4

It starts with you!

X3D Reference

GeoLocation

GeoLocation

GeoLocation positions a regular X3D model onto earth's surface. GeoLocation can contain children and GeoOrigin nodes.

The GeoLocation node belongs to the Geospatial component and its container field is children. It is available since X3D version 3.0 or later.

Hierarchy

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFNode [ ] geoOrigin NULL [GeoOrigin] (deprecated)

Field geoOrigin.

SFVec3d [in, out] geoCoords 0 0 0 (-∞,∞)

Input/Output field geoCoords.

SFVec3f [ ] bboxSize -1 -1 -1 [0,∞) or −1 −1 −1

Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.

Hint

Can be useful for collision computations or inverse-kinematics (IK) engines.

SFVec3f [ ] bboxCenter 0 0 0 (-∞,∞)

Bounding box center: optional hint for position offset from origin of local coordinate system.

MFNode [in] addChildren

Input field addChildren.

MFNode [in] removeChildren

Input field removeChildren.

MFNode [in, out] children [ ] [X3DChildNode]

Input/Output field children.

Description

Hint

  • Include <component name='Geospatial' level='1'/>

Warning

  • Avoid having GeoLocation or GeoTransform as a parent of ancestor node, since multiple geospatial transformations then occur with unpredictable results.

Browser Compatibility

Titania X_ITE
yes yes

External Links