Select to view content in your preferred language

Internet Explorer 9 support?

2496
14
04-04-2011 02:11 PM
DavidMills
Emerging Contributor
Hi,

Does the ArcGIS API for javascript support Internet Explorer 9? I working with version 2.2 of the API, and I'm trying to load a map, center it on a particular extent, and show a shape overlay.

I'm having some trouble getting the map to display correctly in IE9. Attached is the test case I'm using, plus screenshots of the result in IE9 vs all other browsers. Can anyone shed some light on the issue?

Thanks,
Dave
0 Kudos
14 Replies
DavidMills
Emerging Contributor
Hi Marten,

My test case uses a SimpleLineSymbol and SimpleFillSymbol in conjuction with a Graphic; so yes, I'm having trouble getting symbols to display. The underlying issue appears to be with the rendering of GraphicsLayer, so I suspect you'll see a problem in IE9 with any code that utilizes a GraphicsLayer.

The IE9 examples found in the blog post that Kelly mentioned do indeed draw upon a newer, as-yet-unreleased version of the API:

<!--Early preview of version 2.3 - feel free to try this out for testing purposes only-->
<script type="text/javascript" src="http://orthogonal.esri.com/jsapi/arcgis/?v=2.3">


I would be cautious of using the pre-release version of 2.3 in a production environment. Instead, you may provide a hint to Internet Explorer so it chooses IE8 rendering mode by adding this meta tag:

<meta http-equiv="X-UA-Compatible" content="IE=8" />


Of course, your designers might not be happy about the latter option 😉

Regards,
Dave
0 Kudos
by Anonymous User
Not applicable
Original User: KeitherJ

ArcGIS Server Manager SP1 will only display for me properly using "Compatibility Mode" in IE9.

Keith Anderson
LOGIS GIS
0 Kudos
MartenLiebster
Deactivated User
I would be cautious of using the pre-release version of 2.3 in a production environment. Instead, you may provide a hint to Internet Explorer so it chooses IE8 rendering mode by adding this meta tag:

<meta http-equiv="X-UA-Compatible" content="IE=8" />


Of course, your designers might not be happy about the latter option 😉

Regards,
Dave


Thanks Dave - just tried this and it worked, and yes the designers are not happy 🙂

Wonder how long before this is resolved..
0 Kudos
by Anonymous User
Not applicable
Original User: swingley

Version 2.3 was released yesterday making support for IE9 official:  http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2011/05/16/ArcGIS-API-for-JavaScript-Version-2....
0 Kudos
MartenLiebster
Deactivated User
Version 2.3 was released yesterday making support for IE9 official:  http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2011/05/16/ArcGIS-API-for-JavaScript-Version-2....



Great news!! Good timing for my bump 🙂
0 Kudos