ArcGIS JavaScript API: IE Memory Leak Fix

Saturday, May 9, 2009

Since version 1.2 of the ArcGIS Javascript API, we've noticed a strange issue in both IE6 and IE7. When zooming in, memory consumption of the iexplore.exe process takes a huge jump and reaches up to 800-900 megabytes. When the operation ends, it goes back down to 50-60 megabytes. This has caused us a great deal of sorrow, as it sometimes caused our users' systems to hang. This post in the ESRI forums explains, and also provides a fix. Apparently, the upgrade to dojo 1.2 has caused this zoom-animation related issue. To fix it, you should create a javascript...

ESRI JavaScript API: Now with Error Handling

Tuesday, March 3, 2009

The JavaScript API v1.3 has been released, and it now supports error and timeout handling. Finally! We actually had gone and implemented this feature ourselves by overriding the esri.request function, but it was a hack that we'll be glad to be rid off. I can't really understand why this wasn't there to begin with, but still - happyness.
no comments

Extending the ArcGIS Javascript API

Saturday, November 8, 2008

Working with the new Javascript API for ArcGIS Server 9.3, I am now writing quite a bit of javascript. If you try and write large amounts of javascript code (I would consider >200 lines as large enough) without using objects, soon enough you're going to have an unreadable nightmare in your hands. In order for the code to be maintainable, I've realized I have to take advantage of dojo's object-orientation capabilities, and especially inheritance. This allows me to extend ESRI's default objects, compensate for missing behaviors, and add logic of my own. Luckily, in javascript the can't mark their...

ArcGIS Server 9.3 Javascript API Impressions

Tuesday, September 30, 2008

After a long wait, I've finally been able to start using the new Javascript API that comes with ArcGIS Server 9.3. And the truth? It's pretty great. It was difficult to start with, though. I didn't realize that the actual API (.js files and images mostly) doesn't come with the AGS installation discs - you have to request that separately. I have no idea why they won't just let you download an installation zip, as anyone is free to use the API via this link here. Our internal network doesn't have an Internet connection, and even if it did,...
no comments