Graphics on IE Hopelessly slow

683
5
02-17-2011 04:09 PM
FrankConry
New Contributor
I'm having a problem displaying a map with graphics in Microsoft Internet Explorer. I need to display about 10k graphics (the specific graphic doesnt matter) and my application kills Internet Explorer. Even the ESRI samples go super slow and give the following error in IE8:

Stop Running this Script?

A script on this page is causeing internet explorer to run slowly. If it continues to run your computer may become unresponsive.


I have tried the folloing samples:
http://help.arcgis.com/en/webapi/javascript/arcgis/demos/ed/ed_relatededits.html
http://help.arcgis.com/en/webapi/javascript/arcgis/demos/fl/fl_infowindow.html

I have some modified examples with displayGraphicsOnPan false:
http://www.frankconry.net/ebus/jq_test.html
http://www.frankconry.net/ebus/gr_test.html

I am almost finished with my application and this IE error inexplicably showed up, any help would be much appreciated.
0 Kudos
5 Replies
derekswingley1
Frequent Contributor
10k graphics is about 10 times as many as you should ever put on a web map, IMO. Even in browsers with high performance JS/rendering capabilities, I wouldn't expect a map with 10k graphics dropped on it to perform well. I think you should look into either clustering your data or using a dynamic map service.
0 Kudos
FrankConry
New Contributor
Can you give me a link as far as a Dynamic Web Service?

The app is super fast in chrome and FF, so I didnt really think that it would be a problem.
0 Kudos
derekswingley1
Frequent Contributor
0 Kudos
FrankConry
New Contributor
Yeah a static map made and uploaded won't work at all. Any other thoughts? Anyone?
0 Kudos
derekswingley1
Frequent Contributor
A dynamic map service != "static map made and uploaded".

How about clustering? You still send all your data to the client but display far fewer graphics.
0 Kudos