You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but I am getting an error
Uncaught TypeError: Cannot read property 'durations' of undefined
at Object. (app.js:157)
at Dispatch.call (app.js:2266)
at XMLHttpRequest.respond (app.js:2516)
I imported the file app.js in code.
and tried passing
`var state = {
token: '',
debug: window.location.search.indexOf('debug')>-1,
mode: 'driving',
direction:'divergent',
threshold: 3600,
resolution: 1.5,
batchSize: 400,
inspector: false
};
isochrone([12.957194522,77.5682954863], state, function(output){
console.log(output);
})`
but I am getting an error
Uncaught TypeError: Cannot read property 'durations' of undefined
at Object. (app.js:157)
at Dispatch.call (app.js:2266)
at XMLHttpRequest.respond (app.js:2516)
my call is
https://api.mapbox.com/directions-matrix/v1/mapbox/driving/12.9572,77.5683;12.9572,77.5683;12.9572,77.5873;13.0454,77.5683;13.0454,77.5873?sources=0&destinations=all&access_token=
I am new to this and jsin particular kindly help me.
The text was updated successfully, but these errors were encountered: