Class arel.Navigation
The arel.navigation class is the interface to navigate users based on user interaction
- Defined in: Navigation.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
Method Summary
Class Detail
arel.Navigation()
Author: metaio GmbH.
Method Detail
-
<static> arel.Navigation.routeToGPSOnGoogleMaps(latitude, longitude, name)Route the user to a GPS position specified with latitude, longitude + a name of the location
- Parameters:
- {float} latitude
- latitude of the coordinate to route to
- {float} longitude
- longitude of the coordinate to route to
- {float} name
- name of the position specified
-
<static> arel.Navigation.routeToObjectOnGoogleMaps(arObjectOrID)Route the user to a GPS position specified in an object that is known to the scene.
- Parameters:
- {string|arel.Object} arObjectOrID
- Object (arel.Object.Object3d or arel.POI) or the id of the object to get the route to via Google Maps