setLayerCompleted: function(serviceEventArgs) {
var mapUrl = this.mapUrl;
var fltname = this.fltname;
if(serviceEventArgs.result.newResourceID){
var tempLayerID = serviceEventArgs.result.newResourceID;
var fltLayer = new SuperMap.Layer.TiledDynamicRESTLayer("临时地图_" + fltname, mapUrl, {
transparent: true,
cacheEnabled: false,
redirect: true,
layersID: tempLayerID
}, {
maxResolution: "auto",
bufferImgCount: 0
});
fltLayer.events.on({
"layerInitialized" : function() {
mymap.mapControl.addLayer(fltLayer);
}
});
}
},