disable wheel scroll zooming with ArcGIS Javascript API 4.11
US citizen flying to France today and my passport expires in less than 2 months
Watching something be written to a file live with tail
Theorems that impeded progress
What are these boxed doors outside store fronts in New York?
Voyeurism but not really
Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?
Why, historically, did Gödel think CH was false?
Pattern match does not work in bash script
How to format long polynomial?
Is a tag line useful on a cover?
Do VLANs within a subnet need to have their own subnet for router on a stick?
Dragon forelimb placement
Why doesn't H₄O²⁺ exist?
Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)
Approximately how much travel time was saved by the opening of the Suez Canal in 1869?
Which models of the Boeing 737 are still in production?
Do I have a twin with permutated remainders?
Fencing style for blades that can attack from a distance
What is the offset in a seaplane's hull?
Show that if two triangles built on parallel lines, with equal bases have the same perimeter only if they are congruent.
Minkowski space
Why was the small council so happy for Tyrion to become the Master of Coin?
Adding span tags within wp_list_pages list items
Email Account under attack (really) - anything I can do?
disable wheel scroll zooming with ArcGIS Javascript API 4.11
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I want to disable wheel scroll zooming so the viewer can scroll down the page without losing the cursor in the map.
But this code freezes scrolling all together, so when the cursor is over the map, there is no scrolling at all.
view.on("mouse-wheel", function(event) {
// disable mouse wheel scroll zooming on the view
event.stopPropagation();
});
Codepen is https://codepen.io/nadinetrahan/full/VNYxRg
Thoughts?
zoom disable
New contributor
Nadine 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 want to disable wheel scroll zooming so the viewer can scroll down the page without losing the cursor in the map.
But this code freezes scrolling all together, so when the cursor is over the map, there is no scrolling at all.
view.on("mouse-wheel", function(event) {
// disable mouse wheel scroll zooming on the view
event.stopPropagation();
});
Codepen is https://codepen.io/nadinetrahan/full/VNYxRg
Thoughts?
zoom disable
New contributor
Nadine 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 want to disable wheel scroll zooming so the viewer can scroll down the page without losing the cursor in the map.
But this code freezes scrolling all together, so when the cursor is over the map, there is no scrolling at all.
view.on("mouse-wheel", function(event) {
// disable mouse wheel scroll zooming on the view
event.stopPropagation();
});
Codepen is https://codepen.io/nadinetrahan/full/VNYxRg
Thoughts?
zoom disable
New contributor
Nadine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I want to disable wheel scroll zooming so the viewer can scroll down the page without losing the cursor in the map.
But this code freezes scrolling all together, so when the cursor is over the map, there is no scrolling at all.
view.on("mouse-wheel", function(event) {
// disable mouse wheel scroll zooming on the view
event.stopPropagation();
});
Codepen is https://codepen.io/nadinetrahan/full/VNYxRg
Thoughts?
zoom disable
zoom disable
New contributor
Nadine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Nadine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Nadine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 4 mins ago
NadineNadine
1
1
New contributor
Nadine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Nadine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Nadine 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
});
}
});
Nadine 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%2f317994%2fdisable-wheel-scroll-zooming-with-arcgis-javascript-api-4-11%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
Nadine is a new contributor. Be nice, and check out our Code of Conduct.
Nadine is a new contributor. Be nice, and check out our Code of Conduct.
Nadine is a new contributor. Be nice, and check out our Code of Conduct.
Nadine 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%2f317994%2fdisable-wheel-scroll-zooming-with-arcgis-javascript-api-4-11%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