Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

106
Views
Using AWS SDK to help call and allow a user create a tracker API in JavaScript?

Ive been trying to create a form where users can provide a name and location then create a tracker, to be used alongside Location Services Maps. I fee like i am close but am not sure why its not working nor rendering.

enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

A few initial thoughts based on the code snippet you shared:

  • I don't know enough about your use case, you wouldn't need to have more than one tracker per asset type when tracking moving objects. If that's the case for you, create trackers using AWS CLI or AWS Console.
  • If you'd like to create trackers using the JavaScript SDK, first, you need to authenticate your request. See Prerequisites for using Amazon Location Service and Geofencing and Tracking to get more information.
  • Check your input parameters (params) against the CreateTracker API requirements and make sure you're using the right parameters and passing the right values.
  • Check your browser's console and post the errors you're getting here to help me better understand the issue.
  • Note that createTracker creates a new tracker that does not have any data - this means that there is nothing to render yet. To track your assets, you'll need to send position updates to the tracker. See Start Tracking for an example.

Share a bit more about your use case, i.e., 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:

  • Create a tracker using AWS Console or AWS CLI.
  • Use AWS Amplify to push position updates to the tracker when building iOS or Android apps.
  • Use AWS IoT Core to send position updates to the tracker when building something else like a web app. See Tracking using MQTT with Amazon Location Service for an example. I'd consider AWS Amplify PubSub to send/receive messages to AWS IoT Core when building on the web.
  • Send metadata like the name of the food truck, food type, etc. along with position updates using PositionProperties - see Update your tracker with a device position. This would help me attach more information for data visualization or analysis purposes.

Hope this helps.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!