Hi everyone,
I'm trying to load a KMZ file with the ArcGIS JavaScript API but I keep getting the following error in my javascript debugging console:
"The KMZ/KML file is too large. 28114252 bytes exceeds the allowable maximum of 10485760 bytes."
The error is a dojo.io.script error. Here's the full response:
dojo.io.script.jsonp_dojoIoScript2._jsonpCallback({"error":{"code":400,"message":"The KMZ/KML file is too large. 28114252 bytes exceeds the allowable maximum of 10485760 bytes.","details":[]}});
So obviously something in the dojo framework is limiting the POST size to 10MB and my KMZ file is 28MB. Is there any way to increase the size dojo allows?