Closest Facility Arcgis online javascript not returning dataESRI Javascript APT FeatureSet input to custom...
When was drinking water recognized as crucial in marathon running?
What am I? I am in theaters and computer programs
How to lift/raise/repair a segment of concrete slab?
Citing contemporaneous (interlaced?) preprints
Forward slip vs side slip
Non-Italian European mafias in USA?
How can I handle a player who pre-plans arguments about my rulings on RAW?
Why are special aircraft used for the carriers in the united states navy?
Heating basement floor with water heater
Pure Functions: Does "No Side Effects" Imply "Always Same Output, Given Same Input"?
I can't die. Who am I?
What is a term for a function that when called repeatedly, has the same effect as calling once?
Can throughput exceed the bandwidth of a network
Book about a time-travel war fought by computers
How do you say "powers of ten"?
Did Amazon pay $0 in taxes last year?
A bug in Excel? Conditional formatting for marking duplicates also highlights unique value
What Does the Heart In Gyms Mean?
Real life puzzle: Unknown alphabet or shorthand
In iTunes 12 on macOS, how can I reset the skip count of a song?
Roots of chords on the guitar for different inversions/voicings
Why do phishing e-mails use faked e-mail addresses instead of the real one?
Is there a math equivalent to the conditional ternary operator?
Canadian citizen, on US no-fly list. What can I do in order to be allowed on flights which go through US airspace?
Closest Facility Arcgis online javascript not returning data
ESRI Javascript APT FeatureSet input to custom Geoproecessing toolHow to setup proxy and use “POST” method when executing Geoprocessing Service in ArcGIS Server Javascript APIMerging Popups with Relationship Queries using ArcGIS API for JavaScript?Finding the closest facility in a feature layer from a webmapParsing Geoprocessing Service messages using ArcGIS API for JavaScript?Detecting onClick event for clicking Printout button of ArcGIS API for JavaScript?Trying to query based on selected feature, but query is using previously selected featureArcGIS JavaScript PrintTask Failed to create layer from service atArcGIS Javascript Click Returning Invalid CoordinatesArcGIS Javascript API returning value to popup from function
I am trying to use the Closest Facility (CF) function in ArcGIS API for Javascript. I need to be able to pass a shape coming from a feature service as an incident, and use a feature service with multiple points as the facilities.
Currently when I use the Closest Facility task, nothing happens. No calls are made at all if I look at the network activity.
CFTask.solve(CFParams).then(function (solveResult) {
array.forEach(solveResult.routes, function (route, index) {
console.log(route);
});
});
I understand that i may be passing it incorrect data, but would expect an error message, rather than the nothing I get now.
2 questions:
- Does the above code snippet actually run the Closest Facility
function? - How do add data from a feature service to a feature set correctly?
arcgis-javascript-api
New contributor
mmagu6 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I am trying to use the Closest Facility (CF) function in ArcGIS API for Javascript. I need to be able to pass a shape coming from a feature service as an incident, and use a feature service with multiple points as the facilities.
Currently when I use the Closest Facility task, nothing happens. No calls are made at all if I look at the network activity.
CFTask.solve(CFParams).then(function (solveResult) {
array.forEach(solveResult.routes, function (route, index) {
console.log(route);
});
});
I understand that i may be passing it incorrect data, but would expect an error message, rather than the nothing I get now.
2 questions:
- Does the above code snippet actually run the Closest Facility
function? - How do add data from a feature service to a feature set correctly?
arcgis-javascript-api
New contributor
mmagu6 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I am trying to use the Closest Facility (CF) function in ArcGIS API for Javascript. I need to be able to pass a shape coming from a feature service as an incident, and use a feature service with multiple points as the facilities.
Currently when I use the Closest Facility task, nothing happens. No calls are made at all if I look at the network activity.
CFTask.solve(CFParams).then(function (solveResult) {
array.forEach(solveResult.routes, function (route, index) {
console.log(route);
});
});
I understand that i may be passing it incorrect data, but would expect an error message, rather than the nothing I get now.
2 questions:
- Does the above code snippet actually run the Closest Facility
function? - How do add data from a feature service to a feature set correctly?
arcgis-javascript-api
New contributor
mmagu6 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I am trying to use the Closest Facility (CF) function in ArcGIS API for Javascript. I need to be able to pass a shape coming from a feature service as an incident, and use a feature service with multiple points as the facilities.
Currently when I use the Closest Facility task, nothing happens. No calls are made at all if I look at the network activity.
CFTask.solve(CFParams).then(function (solveResult) {
array.forEach(solveResult.routes, function (route, index) {
console.log(route);
});
});
I understand that i may be passing it incorrect data, but would expect an error message, rather than the nothing I get now.
2 questions:
- Does the above code snippet actually run the Closest Facility
function? - How do add data from a feature service to a feature set correctly?
arcgis-javascript-api
arcgis-javascript-api
New contributor
mmagu6 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
mmagu6 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
mmagu6 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 8 mins ago
mmagu6mmagu6
1
1
New contributor
mmagu6 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
mmagu6 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
mmagu6 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
mmagu6 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f314496%2fclosest-facility-arcgis-online-javascript-not-returning-data%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
mmagu6 is a new contributor. Be nice, and check out our Code of Conduct.
mmagu6 is a new contributor. Be nice, and check out our Code of Conduct.
mmagu6 is a new contributor. Be nice, and check out our Code of Conduct.
mmagu6 is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f314496%2fclosest-facility-arcgis-online-javascript-not-returning-data%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown