avoid drag zoom

1653
5
Jump to solution
01-24-2017 12:04 PM
JasonBaddley
New Contributor

We are trying to understand how you can override the default behavior of shift+drag so that is doesn't zoom-in. We are implementing drag filtering where the user uses shift+drag to create a rectangle on the map.

0 Kudos
1 Solution

Accepted Solutions
FC_Basson
MVP Regular Contributor
5 Replies
RickeyFight
MVP Regular Contributor
JasonBaddley
New Contributor

This was very helpful, thank you. I can't seem to find an equivalent in 4.2. And when I try it the 'load' event never fires.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Jason,  

   Be sure to include a tag for 4.2 or something in your text letting us know you are working with 4.2.

There is no equivalent for 4.2 yet.

JasonBaddley
New Contributor

Meaning no docs for 4.2 or no implementation?

0 Kudos
FC_Basson
MVP Regular Contributor

No implementation of the 3.19 equivalent disableRubberBandZoom() | ArcGIS API for JavaScript 3.19