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.
Raghavender,
I have never seen that issue. Can you provide a small sample that replicates your issue and post it here?
Thanks Robert for the reply, I do not have sample code it is part of our product, i'll prepare sample and post here.
Are there any console errors when this occurs?
Thanks Thomas for replay. There are no errors in the console.
Map won't pan when using the >= 3.21 javascript api.
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.
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>
It appears that the API changed for this.map.disableMapNavigation(); in version after 3.20. If I comment it out, pan works.