0

我正在使用 Wikiitude API 为 Android 开发 AR 应用程序。我想定义搜索 poi 的范围,但我无法在任何地方找到它。api是否允许定义范围?

4

2 回答 2

1

查看 Wikitude 参考库中的 ActionRanges。这就是您在半径和地理围栏方面正在寻找的东西。

http://www.wikitude.com/external/doc/documentation/latest/Reference/JavaScript%20Reference/ActionRange.html

actionRange = new AR.ActionRange(geoObject, 500);

从文档

AR.ActionRange ( geoLocation , radius , options )
Parameters:
geoLocation <GeoLocation> a single GeoLocation defining the center point of the circle.
radius <float> the radius of the ActionRange in meters.
options <object> Setup-Parameters to customize additional object properties.
于 2012-04-11T13:48:02.787 回答
0

您提到的 Android API 已弃用,并提供非常有限的功能集。

请查看 http://www.wikitude.com/developer/architect

在这里,您可以找到支持离线使用的 SDK 的最新版本,以及大量自定义(动画、html、CSS、JS...)。它基于 JS,允许您构建移动 AR 应用程序而无需任何传感器处理。

亲切的问候,Andi(来自 Wikitude 的 Android 团队)

于 2012-04-06T07:21:57.890 回答