Skip to main content

Hi Team,

 

Can you please advise on how we can calculate travel distance between two locations (source latitude, source longitude, destination latitude, destination longitude). I found below API. Is it correct? In case yes then please advise on how we can get accurate travel distance similar to Google Maps.

 

GeocodeManager geoManager = new GeocodeManager();

string traveldistance = geoManager.CalcDrivingDistance(Convert.ToDouble(start_lat), Convert.ToDouble(start_long), Convert.ToDouble(dest_lat), Convert.ToDouble(dest_long)).ToString();

 

Is it possible to calculate distance in FSM customization using Google Maps provided we have the required key for it?

 

Regards,

AJAY

 

Hi @ajayifs ,

Task ETA, person ETA is generated using the geocodemanager class and yes this is possible with Bing, PCA and Google maps if you already have valid API keys. The interfaces have been implemented in the baseline code (not sure whether these are publicly available to access directly). But I assume similarly you could calculate this with FSM integration API (using fsm connect) without customization as well.

 


Thanks Saaalk.

 

Can you please share the API details of FSM connect? Also, is there a concept of HTM in FSM on order to calculate travel distance?

 

Regards,

AJAY


Reply