Select to view content in your preferred language

Shift + Draw Rectangle on the map to zoom in does not work in IE

3393
3
Jump to solution
07-12-2013 07:42 AM
JoanSteinbacher
Occasional Contributor
I have downloaded the Basic Viewer Template and used it as the basis for a custom app.  I have found that holding down the Shift key and drag a box on the map to zoom in does not work in IE.  It works if I'm using Firefox or Chrome.

Here's the link for my app:
http://gis.tpcmaps.org/apps/staging/rezoning/

Can anyone shed light on why it's not working in IE?

Thanks,
Joan
0 Kudos
1 Solution

Accepted Solutions
JeffJacobson
Frequent Contributor
This issue only occurs in IE 10.  If you change the Browser Mode through the debugging tools to IE9 or earlier, drawing the zoom box while holding shift works correctly.

You can force IE10 into an earlier rendering engine using the X-UA-Compatible meta tag. (Firefox, Chrome, etc. will ignore this tag.)

[HTML]<html>
<head>
  <!-- Use Internet Explorer 9 Standards mode -->
  <meta http-equiv="x-ua-compatible" content="IE=9">
  <title>My webpage</title>
</head>
<body>
  <p>Content goes here.</p>
</body>
</html>
[/HTML]

As for why the shift+zoom doesn't work in IE 10, I don't know.  Maybe one of Esri's developers can address this.

View solution in original post

3 Replies
JeffJacobson
Frequent Contributor
This issue only occurs in IE 10.  If you change the Browser Mode through the debugging tools to IE9 or earlier, drawing the zoom box while holding shift works correctly.

You can force IE10 into an earlier rendering engine using the X-UA-Compatible meta tag. (Firefox, Chrome, etc. will ignore this tag.)

[HTML]<html>
<head>
  <!-- Use Internet Explorer 9 Standards mode -->
  <meta http-equiv="x-ua-compatible" content="IE=9">
  <title>My webpage</title>
</head>
<body>
  <p>Content goes here.</p>
</body>
</html>
[/HTML]

As for why the shift+zoom doesn't work in IE 10, I don't know.  Maybe one of Esri's developers can address this.
JoanSteinbacher
Occasional Contributor
Jeff -- You rock!  That worked great and I never would have figured it out myself.  So thanks so much for the response.
0 Kudos
ScottGunn
Regular Contributor
Sorry to bump such an old thread, but I was a little bummed to find that this is still an issue in version 3.9 of the API. 

Hopefully it will be addressed in a future release.
0 Kudos