public PublishMapResponse PublishMap(PublishMapRequest request) { object[] results = this.Invoke("PublishMap", new object[] { request }); return((PublishMapResponse)(results[0])); }
/// <remarks/> public void PublishMapAsync(PublishMapRequest request, object userState) { if ((this.PublishMapOperationCompleted == null)) { this.PublishMapOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPublishMapOperationCompleted); } this.InvokeAsync("PublishMap", new object[] { request }, this.PublishMapOperationCompleted, userState); }
/// <remarks/> public void PublishMapAsync(PublishMapRequest request) { this.PublishMapAsync(request, null); }
private PublishResult PublishWithoutPreUpload(MapInfo mapInfo) { var service = new DOMAService(); service.Url = WebServiceUrl; var request = new PublishMapRequest { Username = Username, Password = Password, MapInfo = TranslateMapInfo(mapInfo), }; try { request.MapInfo.BlankMapImageData = null; // this version of the webservice has not support for blank map images var response = service.PublishMap(request); return new PublishResult { Success = response.Success, ErrorMessage = response.ErrorMessage, URL = response.URL }; } catch (Exception ex) { return new PublishResult { Success = false, ErrorMessage = ex.Message }; } }
/// <remarks/> public void PublishMapAsync(PublishMapRequest request, object userState) { if ((this.PublishMapOperationCompleted == null)) { this.PublishMapOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPublishMapOperationCompleted); } this.InvokeAsync("PublishMap", new object[] { request}, this.PublishMapOperationCompleted, userState); }
/// <remarks/> public void PublishMapAsync(PublishMapRequest request) { this.PublishMapAsync(request, null); }
public PublishMapResponse PublishMap(PublishMapRequest request) { object[] results = this.Invoke("PublishMap", new object[] { request}); return ((PublishMapResponse)(results[0])); }