Panning issues with JS API 2.3 in IE 8

572
3
06-16-2011 12:37 PM
MaryHagerman
New Contributor
I am seeing panning issues with js api 2.3 in IE 8.  The cached basemap layer pans with the mouse, but the operational layer stays put, and visible.  The same happens with 2.2.  IE 7, IE 9, Firefox and Chrome don't have the same issue with 2.3, and IE 8 didn't have the issue with version 1.6.

Is anyone else seeing this?  Are there any known compatibility issues with using 2.3 in IE 8?

MH
0 Kudos
3 Replies
derekswingley1
Frequent Contributor
Can you post a simple html page that demonstrates this?
0 Kudos
MaryHagerman
New Contributor
Can you post a simple html page that demonstrates this?


Sure - http://gis2.co.dakota.mn.us/maps3/maptest.html

Zoom in until you can see parcels.  Notice how the basemap moves around behind the parcels when you pan in IE 8.  When you release the mouse, the parcels snap to where the basemap is.

I did some digging around to try to identify what was causing this behavior.  It seems to be a combination of things - IE 7 compatibility tag, opacity set on the operational layer, and scalebar.  When all three are present, you get this odd panning behavior.  Remove any one of the three, and panning works as usual.

However, from an internal server, using a copy of the same code and the same externally published services, removing the IE 7 compatibility tag does not resolve it.

It is not a critical issue, but we are concerned it may cause some confusion for our users who are used to seeing all layers pan dynamicly together.

MH
0 Kudos
StephenLead
Regular Contributor III
I'm seeing this too (eg at http://atlas.nsw.gov.au/public/nsw/home/map/population.html)

I've always assumed it's something to do with VML vs SVG rendering of features, but it'd be great to get an official reason, and any tips for avoiding it.
0 Kudos