AnsweredAssumed Answered

Tracking with coordinates from database

Question asked by satyanarayana_narmala on Apr 22, 2019
Latest reply on May 1, 2019 by rscheitlin

Hi,

 

I am using the Track widget simulation for tracking vehicle

 

Track widget simulation | ArcGIS API for JavaScript 4.11 

 

I would like to input coordinates from database in place of this

 

 var coords = [
              {
                lat: 34.05648363780692,
                lng: -117.19565501782613
              },
              {
                lng: -117.19565880345007,
                lat: 34.05682230352545
              },
              {
                lng: -117.19566258907402,
                lat: 34.05716096924398
              },
              },

 

How can i do the same.

Outcomes