I have added 2 feature layers in my map having mode as MODE_ONDEMAND and attached info window functions.Every things works fine but after some time I start to get some errors as dojo.io.script error
Error: undefinedand then a lot of following errors with just the numbers changeddojo.io.script.jsonp_dojoIoScript_Buildings11_0_000013959502222241174_2288_4575 is undefined
dojo.io.script.jsonp_dojoIoScript_Airports00_0_00714726513778765_3_9 is undefined
There is no effect on functionality and everything works fine even with these errors.I made sure if I have added dojo.require("dojo.io.script"); but it still give me same errors.What causes these errors? Can I ignore it? is there something I am missing?Following is the code I used to add layers.
//Airports Layer
var featureLayer = new esri.layers.FeatureLayer("http://localhost/ArcGIS/rest/services/MyMap/MapServer/0",{
mode: esri.layers.FeatureLayer.MODE_ONDEMAND,
outFields: ["*"]
});
dojo.connect(featureLayer,"onMouseOver",mapControl.showAirportInfoWindow);
mapControl.map.addLayer(featureLayer);
//Buildings Layer
var featureLayerBuildings = new esri.layers.FeatureLayer("http://localhost/ArcGIS/rest/services/MyMap/MapServer/1",{
mode: esri.layers.FeatureLayer.MODE_ONDEMAND,
outFields: ["*"]
});
dojo.connect(featureLayerBuildings,"onMouseOver",mapControl.showBuildingInfoWindow);
mapControl.map.addLayer(featureLayerBuildings);