Set points, zoom, not working correctly in IE but fine in Chrome and Mozilla.

1348
1
09-04-2014 09:04 AM
GloriaForthun
New Contributor

I am using 3.9 and in my application I suddenly couldn't zoom-in to the exact spot I wanted to start at.  Then I tried the route stop and that did not go where I tried to put it.  Then I did the drive time and put down the point and it didn't go where I put it.  All the other layers I have added, the find location, popups, etc... all work.  It "appears" that the points are moving to the NW from where I want them.  I am using 4326 and dec. deg.  This has been working fine all along.  It is also working just fine in Chrome and Mozilla.  I have no idea at all why it is doing this in IE.  I have IE 11.  Still very new to this but this is really confusing.  Any help, advice?  Thank you in advance.

0 Kudos
1 Reply
KenBuja
MVP Esteemed Contributor

This can sometimes be fixed by resizing the map once it's loaded.

  1. map.on("load", function () { 
  2.     registry.byId("divMap").on("resize", function () { 
  3.         clearTimeout(resizeTimer); 
  4.         resizeTimer = setTimeout(function () { 
  5.             map.resize(); 
  6.             map.reposition(); 
  7.         }, 500); 
  8.     }); 
  9. }) 

Also, please consider moving this thread in the the JavaScript space

0 Kudos