Since 4.0
Until 4.2
As of January of 2017 the BridgeIt project has been deprecated. As a result, this component has been removed from ICEfaces as of the 4.2 release.
The mobi:augmentedReality component renders a button that launches the Bridgeit application on the user's device to display an overlay on a picture or video with virtual objects and markers.
Technology Preview
Note that the mobi:augmentedReality component is in Technology Preview status, and thus is not ready for production deployments. Also note that this component is only currently supported on iOS devices.
To start using the AugmentedReality component, place the mobi:augmentedReality tag in a form and specify the 'value' and 'urlBase' attributes; then, nest either an mobi:augmentedRealityLocations or mobi:augmentedRealityMarkers tag inside and bind it to a collection of property object representing locations or markers.
<h:form>
<mobi:augmentedReality
urlBase="#{bean.baseURL}"
value="#{bean.selection}">
<mobi:augmentedRealityLocations
value="#{bean.messages}" var="place"
locationLabel="#{place.title}"
locationLat="#{place.latitude}"
locationLon="#{place.longitude}"
locationIcon="#{place.fileName}" />
</mobi:augmentedReality>
</h:form>
TagLib Documentation
This section covers attributes involved in the typical use-cases for this component.
The value attribute is where the selection from the user is stored, usually a location or marker.
The buttonLabel specifies the label of the button before it is activated.
The captureMessageLabel specifies the label to be displayed on the button when input has been captured.
None.
None.
None.
Standard keyboard actions for HTML buttons are supported, such as tabindex and pressing the enter or space keys to activate the button.
The following known issues exist for this component:
This component appears in the following ICEfaces sample applications: