Copyright © 2015 Open Geospatial Consortium 76
readonly attribute object ref; attribute GMLGeometry gmlGeometry;
};
ref can either be an object or a String with its value set to user, thus the type has to be a general object.
8.3.11 Tracker
[Constructorstring uri, optional TrackerDict initDict] interface Tracker : ARElement {
readonly attribute string uri; attribute string src;
}; dictionary TrackerDict : ARElementDict {
string src; };
8.3.12 Trackable
[ConstructorTrackableConfig[] configs, optional TrackableDict initDict] interface Trackable : ARAnchor {
readonly attribute TrackableConfig[] configs; attribute double size;
void addEventListenerstring type, EventListener listener; void removeEventListenerstring type, EventListener listener;
}; dictionary TrackableDict : ARAnchorDict {
double size; };
[ConstructorTracker tracker, string src, optional int order] interface TrackableConfig {
readonly attribute Tracker tracker; readonly attribute string src;
readonly attribute int order; };
8.3.13 VisualAsset
interface VisualAsset : ARElement { attribute boolean enabled;
attribute int zOrder; attribute Condition[] conditions;
attribute Orientation orientation attribute ScalingMode scalingMode;
void addEventListenerstring type, EventListener listener; void removeEventListenerstring type, EventListener listener;
}; dictionary VisualAssetDict : ARElementDict {
boolean enabled;
Copyright © 2015 Open Geospatial Consortium 77
int zOrder; Condition[] conditions;
Orientation orientation; ScalingMode ScalingMode;
};
8.3.14 Orientation
[ConstructorOrientationDict initDict] interface Orientation {
attribute double roll; attribute double tilt;
attribute double heading; }
dictionary OrientationDict { double roll;
double tilt; double heading;
};
8.3.15 ScalingMode
[Constructorstring type, optional ScalingModeDict initDict] interface ScalingMode {
readonly attribute string type; attribute double minScalingDistance;
attribute double maxScalingDistance; attribute double scalingFactor;
}; dictionary ScalingModeDict {
double minScalingDistance; double maxScalingDistance;
double scalingFactor; };
8.3.16 VisualAsset2D
interface VisualAsset2D : VisualAsset { attribute string width;
attribute string height; attribute string orientationMode;
attribute string backside; };
dictionary VisualAsset2DDict : VisualAssetDict { string width;
string height; string orientationMode;
string backside; };
8.3.17 Label