Mouse cursor offset from map points in basic viewer template IE only

2443
2
Jump to solution
09-05-2014 06:39 AM
ChrisDalla_Piazza
New Contributor III

A while back we put together a web map by customizing the basic viewer template that was available at the time.  I guess enough time has gone by that it is now the "classic viewer" http://www.arcgis.com/apps/OnePane/basicviewer/index.html

When I do anything that involves mouse position: info window click, measure tool, etc... the point that shows up on the map is offset to the left of the mouse cursor by ~ 10px.  This is only in IE for me.  The mouse lines up perfectly in Chrome and Firefox.

When I open our map in AGOL the measure tool also lines up perfectly even in IE so I conclude that there is something amiss in the basic viewer template.

Anybody know why or how to fix this?

0 Kudos
1 Solution

Accepted Solutions
JonathanUihlein
Esri Regular Contributor

Hi Chris,


Try removing the following lines from your layout.css file and let me know if this helps at all.

.notembed{

  height:98%;

  width:98%;

  margin:0 10px;

  padding:0;

}

.notembed #header{

  padding:4px;

  overflow:hidden;

}

View solution in original post

0 Kudos
2 Replies
JonathanUihlein
Esri Regular Contributor

Hi Chris,


Try removing the following lines from your layout.css file and let me know if this helps at all.

.notembed{

  height:98%;

  width:98%;

  margin:0 10px;

  padding:0;

}

.notembed #header{

  padding:4px;

  overflow:hidden;

}

0 Kudos
ChrisDalla_Piazza
New Contributor III

That worked great.  Thanks for your help!

0 Kudos