Parameters for ArcGIS REST “…/MapServer?f=jsapi”? Unicorn Meta Zoo #1: Why another...
What is ls Largest Number Formed by only moving two sticks in 508?
Are these square matrices always diagonalisable?
What do you call the part of a novel that is not dialog?
SQL Query not selecting all points that it should?
Suing a Police Officer Instead of the Police Department
Has a Nobel Peace laureate ever been accused of war crimes?
Is this homebrew racial feat, Stonehide, balanced?
Is a 5 watt UHF/VHF handheld considered QRP?
What is "leading note" and what does it mean to "raise a note"?
What to do with someone that cheated their way through university and a PhD program?
Multiple options vs single option UI
What is the term for a person whose job is to place products on shelves in stores?
What is a 'Key' in computer science?
What is it called when you ride around on your front wheel?
Does the set of sets which are elements of every set exist?
std::is_constructible on incomplete types
Is Diceware more secure than a long passphrase?
Can I criticise the more senior developers around me for not writing clean code?
Is it acceptable to use working hours to read general interest books?
c++ diamond problem - How to call base method only once
Putting Ant-Man on house arrest
Married in secret, can marital status in passport be changed at a later date?
Mistake in years of experience in resume?
The art of proof summarizing. Are there known rules, or is it a purely common sense matter?
Parameters for ArcGIS REST “…/MapServer?f=jsapi”?
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraHow to navigate the REST endpoints and retrieve Field information programaticallyLoad One Layer from ArcGIS Server MapServerabout token based authentication securityDoes ArcGIS.com support dynamic map services (or only feature services and tiled services)?Mouse click event used gis application with much dataChange output spatial reference for ArcGISTiledMapServiceArcGIS Server config to allow ArcGIS JavaScript printing?Web Application and ArcGIS server are two different machines and unable to load layers using rest servicesArcGIS JavaScript PrintTask Failed to create layer from service atFinding documentation on ArcGIS Server's Tilemap API call?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
What parameters can be used with .../MapServer?f=jsapi to alter the results, like turning on or off a single layer?
Background:
When browsing an ArcGIS REST Services Directory one of the options at a MapServer level is to "view in ArcGIS JavaScript":
http://services.arcgisonline.com/arcgis/rest/services/Specialty/Soil_Survey_Map/MapServer

This leads to a light-weight web map with minimal chrome, widgets, etc. and no reliance on a 3rd party server like ArcGIS Online to draw the results. It is really handy for having a quick look at the service, with a bonus of having a shareable URL that anyone can see.
http://services.arcgisonline.com/arcgis/rest/services/Specialty/Soil_Survey_Map/MapServer?f=jsapi

The problem, from my present perspective, is that the view is limited to the default definition in the MapServer service definition. In this soil survey example there are 3 layers in the MapServer. What I'd like to be able to do is use the same minimal-chrome webmap to view just one of those layers, not the whole map.

This Soils Survey isn't the best example of my dilemma since the desired layer will draw at the appropriate zoom level. The circumstance which prompted this question is a map service that has layers turned off by default. I can use ArcGIS Online's Use URL parameters to modify maps &layers=show:2,4 to fix that, but that invokes overhead and complexity I'm trying to avoid (using multiple servers and services for mere data viewing).
arcgis-javascript-api
bumped to the homepage by Community♦ 33 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
What parameters can be used with .../MapServer?f=jsapi to alter the results, like turning on or off a single layer?
Background:
When browsing an ArcGIS REST Services Directory one of the options at a MapServer level is to "view in ArcGIS JavaScript":
http://services.arcgisonline.com/arcgis/rest/services/Specialty/Soil_Survey_Map/MapServer

This leads to a light-weight web map with minimal chrome, widgets, etc. and no reliance on a 3rd party server like ArcGIS Online to draw the results. It is really handy for having a quick look at the service, with a bonus of having a shareable URL that anyone can see.
http://services.arcgisonline.com/arcgis/rest/services/Specialty/Soil_Survey_Map/MapServer?f=jsapi

The problem, from my present perspective, is that the view is limited to the default definition in the MapServer service definition. In this soil survey example there are 3 layers in the MapServer. What I'd like to be able to do is use the same minimal-chrome webmap to view just one of those layers, not the whole map.

This Soils Survey isn't the best example of my dilemma since the desired layer will draw at the appropriate zoom level. The circumstance which prompted this question is a map service that has layers turned off by default. I can use ArcGIS Online's Use URL parameters to modify maps &layers=show:2,4 to fix that, but that invokes overhead and complexity I'm trying to avoid (using multiple servers and services for mere data viewing).
arcgis-javascript-api
bumped to the homepage by Community♦ 33 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
What parameters can be used with .../MapServer?f=jsapi to alter the results, like turning on or off a single layer?
Background:
When browsing an ArcGIS REST Services Directory one of the options at a MapServer level is to "view in ArcGIS JavaScript":
http://services.arcgisonline.com/arcgis/rest/services/Specialty/Soil_Survey_Map/MapServer

This leads to a light-weight web map with minimal chrome, widgets, etc. and no reliance on a 3rd party server like ArcGIS Online to draw the results. It is really handy for having a quick look at the service, with a bonus of having a shareable URL that anyone can see.
http://services.arcgisonline.com/arcgis/rest/services/Specialty/Soil_Survey_Map/MapServer?f=jsapi

The problem, from my present perspective, is that the view is limited to the default definition in the MapServer service definition. In this soil survey example there are 3 layers in the MapServer. What I'd like to be able to do is use the same minimal-chrome webmap to view just one of those layers, not the whole map.

This Soils Survey isn't the best example of my dilemma since the desired layer will draw at the appropriate zoom level. The circumstance which prompted this question is a map service that has layers turned off by default. I can use ArcGIS Online's Use URL parameters to modify maps &layers=show:2,4 to fix that, but that invokes overhead and complexity I'm trying to avoid (using multiple servers and services for mere data viewing).
arcgis-javascript-api
What parameters can be used with .../MapServer?f=jsapi to alter the results, like turning on or off a single layer?
Background:
When browsing an ArcGIS REST Services Directory one of the options at a MapServer level is to "view in ArcGIS JavaScript":
http://services.arcgisonline.com/arcgis/rest/services/Specialty/Soil_Survey_Map/MapServer

This leads to a light-weight web map with minimal chrome, widgets, etc. and no reliance on a 3rd party server like ArcGIS Online to draw the results. It is really handy for having a quick look at the service, with a bonus of having a shareable URL that anyone can see.
http://services.arcgisonline.com/arcgis/rest/services/Specialty/Soil_Survey_Map/MapServer?f=jsapi

The problem, from my present perspective, is that the view is limited to the default definition in the MapServer service definition. In this soil survey example there are 3 layers in the MapServer. What I'd like to be able to do is use the same minimal-chrome webmap to view just one of those layers, not the whole map.

This Soils Survey isn't the best example of my dilemma since the desired layer will draw at the appropriate zoom level. The circumstance which prompted this question is a map service that has layers turned off by default. I can use ArcGIS Online's Use URL parameters to modify maps &layers=show:2,4 to fix that, but that invokes overhead and complexity I'm trying to avoid (using multiple servers and services for mere data viewing).
arcgis-javascript-api
arcgis-javascript-api
asked Sep 28 '17 at 16:41
matt wilkiematt wilkie
18.2k30116241
18.2k30116241
bumped to the homepage by Community♦ 33 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 33 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
That is just a basic viewer page to allow you to see the service. It's not meant to be used as an "app" and as far as I know, the ability to pass parameters to that page is not supported.
We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.
Absence of a doc page and public discussion for it says you're right. However there's a world of difference between supported and possible. ;-) I hold hope for the latter...
– matt wilkie
Oct 1 '17 at 4:53
1
Matt, no, it's not even "possible" - a quick View Source confirms that. Your solution for using ArcGIS Online URL parameters is probably the easiest solution :)
– Bjorn Svensson
Oct 2 '17 at 17:31
add a comment |
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
});
}
});
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%2f256942%2fparameters-for-arcgis-rest-mapserverf-jsapi%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
That is just a basic viewer page to allow you to see the service. It's not meant to be used as an "app" and as far as I know, the ability to pass parameters to that page is not supported.
We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.
Absence of a doc page and public discussion for it says you're right. However there's a world of difference between supported and possible. ;-) I hold hope for the latter...
– matt wilkie
Oct 1 '17 at 4:53
1
Matt, no, it's not even "possible" - a quick View Source confirms that. Your solution for using ArcGIS Online URL parameters is probably the easiest solution :)
– Bjorn Svensson
Oct 2 '17 at 17:31
add a comment |
That is just a basic viewer page to allow you to see the service. It's not meant to be used as an "app" and as far as I know, the ability to pass parameters to that page is not supported.
We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.
Absence of a doc page and public discussion for it says you're right. However there's a world of difference between supported and possible. ;-) I hold hope for the latter...
– matt wilkie
Oct 1 '17 at 4:53
1
Matt, no, it's not even "possible" - a quick View Source confirms that. Your solution for using ArcGIS Online URL parameters is probably the easiest solution :)
– Bjorn Svensson
Oct 2 '17 at 17:31
add a comment |
That is just a basic viewer page to allow you to see the service. It's not meant to be used as an "app" and as far as I know, the ability to pass parameters to that page is not supported.
That is just a basic viewer page to allow you to see the service. It's not meant to be used as an "app" and as far as I know, the ability to pass parameters to that page is not supported.
edited Feb 12 '18 at 13:44
answered Sep 30 '17 at 18:33
GavinRGavinR
1,7011812
1,7011812
We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.
We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.
Absence of a doc page and public discussion for it says you're right. However there's a world of difference between supported and possible. ;-) I hold hope for the latter...
– matt wilkie
Oct 1 '17 at 4:53
1
Matt, no, it's not even "possible" - a quick View Source confirms that. Your solution for using ArcGIS Online URL parameters is probably the easiest solution :)
– Bjorn Svensson
Oct 2 '17 at 17:31
add a comment |
Absence of a doc page and public discussion for it says you're right. However there's a world of difference between supported and possible. ;-) I hold hope for the latter...
– matt wilkie
Oct 1 '17 at 4:53
1
Matt, no, it's not even "possible" - a quick View Source confirms that. Your solution for using ArcGIS Online URL parameters is probably the easiest solution :)
– Bjorn Svensson
Oct 2 '17 at 17:31
Absence of a doc page and public discussion for it says you're right. However there's a world of difference between supported and possible. ;-) I hold hope for the latter...
– matt wilkie
Oct 1 '17 at 4:53
Absence of a doc page and public discussion for it says you're right. However there's a world of difference between supported and possible. ;-) I hold hope for the latter...
– matt wilkie
Oct 1 '17 at 4:53
1
1
Matt, no, it's not even "possible" - a quick View Source confirms that. Your solution for using ArcGIS Online URL parameters is probably the easiest solution :)
– Bjorn Svensson
Oct 2 '17 at 17:31
Matt, no, it's not even "possible" - a quick View Source confirms that. Your solution for using ArcGIS Online URL parameters is probably the easiest solution :)
– Bjorn Svensson
Oct 2 '17 at 17:31
add a comment |
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%2f256942%2fparameters-for-arcgis-rest-mapserverf-jsapi%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