[英]Using AWS SDK to help call and allow a user create a tracker API in JavaScript?
A few initial thoughts based on the code snippet you shared:基于您分享的代码片段的一些初步想法:
params
) against the CreateTracker API requirements and make sure you're using the right parameters and passing the right values.params
),并确保您使用正确的参数并传递正确的值。createTracker
creates a new tracker that does not have any data - this means that there is nothing to render yet.createTracker
创建了一个没有任何数据的新跟踪器 - 这意味着还没有任何内容可渲染。 To track your assets, you'll need to send position updates to the tracker. Share a bit more about your use case, ie, what is it you're trying to do.分享更多关于您的用例的信息,即您想要做什么。 That'll help me better understand the problem.
这将帮助我更好地理解问题。
UPDATE: here is what I'd do for your use case:更新:这是我会为您的用例做的事情:
PositionProperties
- see Update your tracker with a device position .PositionProperties
发送食品卡车名称、食品类型等元数据以及 position 更新 - 请参阅使用设备 position 更新您的智能设备。 This would help me attach more information for data visualization or analysis purposes. Hope this helps.希望这可以帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.