Map features doesn’t pan with the mouse in Chrome

1292
8
08-18-2017 05:20 AM
RaghavenderReddy
New Contributor

We are showing place marks on the map using graphics layer. When we do map panning  the map features doesn’t pan with the mouse in Chrome, however it sticks to the tile/maps in IE.

We do not have this issue till 3.17 version of arcgis. We are using 3.19 version in our application.

Is it the expected behaviour or is there any bug in current versions? Can you please help me on this?  

Please let us know if you need any other information.

0 Kudos
8 Replies
RobertScheitlin__GISP
MVP Emeritus

Raghavender,

   I have never seen that issue. Can you provide a small sample that replicates your issue and post it here?

0 Kudos
RaghavenderReddy
New Contributor

Thanks Robert for the reply, I do not have sample code it is part of our product, i'll prepare sample and post here.

0 Kudos
ThomasSolow
Occasional Contributor III

Are there any console errors when this occurs? 

0 Kudos
RaghavenderReddy
New Contributor

Thanks Thomas  for replay. There are no errors in the console.

0 Kudos
kevinmasden
New Contributor II

Map won't pan when using the >= 3.21  javascript api.

BrianVazquez_Ruiz
New Contributor

Ours was working fine a few months back, and now mouse drag panning is no longer working for us in IE 11.  We are using Javascript API 3.21.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Brian,

   This sample works fine for me in IE 11:

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/>
    <title>Simple Map</title>
    <link rel="stylesheet" href="https://js.arcgis.com/3.21/esri/css/esri.css">
    <style>
      html, body, #map {
        height: 100%;
        margin: 0;
        padding: 0;
      }
    </style>
    <script src="https://js.arcgis.com/3.21/"></script>
    <script>
      var map;

      require(["esri/map", "dojo/domReady!"], function(Map) {
        map = new Map("map", {
          basemap: "topo",  //For full list of pre-defined basemaps, navigate to http://arcg.is/1JVo6Wd
          center: [-122.45, 37.75], // longitude, latitude
          zoom: 13
        });
      });
    </script>
  </head>

  <body>
    <div id="map"></div>
  </body>
</html>
0 Kudos
kevinmasden
New Contributor II

It appears that the API changed for this.map.disableMapNavigation(); in version after 3.20.  If I comment it out, pan works.