コード例 #1
0
ファイル: Reference.cs プロジェクト: ericzhc/pdale
 /// <remarks/>
 public void CalculateSimpleRouteAsync(LatLong[] latLongs, string dataSourceName, SegmentPreference preference, object userState) {
     if ((this.CalculateSimpleRouteOperationCompleted == null)) {
         this.CalculateSimpleRouteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCalculateSimpleRouteOperationCompleted);
     }
     this.InvokeAsync("CalculateSimpleRoute", new object[] {
                 latLongs,
                 dataSourceName,
                 preference}, this.CalculateSimpleRouteOperationCompleted, userState);
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: ericzhc/pdale
 public Route CalculateSimpleRoute(LatLong[] latLongs, string dataSourceName, SegmentPreference preference) {
     object[] results = this.Invoke("CalculateSimpleRoute", new object[] {
                 latLongs,
                 dataSourceName,
                 preference});
     return ((Route)(results[0]));
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: ericzhc/pdale
 /// <remarks/>
 public void CalculateSimpleRouteAsync(LatLong[] latLongs, string dataSourceName, SegmentPreference preference) {
     this.CalculateSimpleRouteAsync(latLongs, dataSourceName, preference, null);
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: ericzhc/pdale
 /// <remarks/>
 public void GetLocationInfoAsync(LatLong location, string dataSourceName, GetInfoOptions options) {
     this.GetLocationInfoAsync(location, dataSourceName, options, null);
 }
コード例 #5
0
ファイル: Reference.cs プロジェクト: ericzhc/pdale
 /// <remarks/>
 public void GetLocationInfoAsync(LatLong location, string dataSourceName, GetInfoOptions options, object userState) {
     if ((this.GetLocationInfoOperationCompleted == null)) {
         this.GetLocationInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetLocationInfoOperationCompleted);
     }
     this.InvokeAsync("GetLocationInfo", new object[] {
                 location,
                 dataSourceName,
                 options}, this.GetLocationInfoOperationCompleted, userState);
 }
コード例 #6
0
ファイル: Reference.cs プロジェクト: ericzhc/pdale
 /// <remarks/>
 public void GetGreatCircleDistancesAsync(LatLong[] latLongs, object userState) {
     if ((this.GetGreatCircleDistancesOperationCompleted == null)) {
         this.GetGreatCircleDistancesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGreatCircleDistancesOperationCompleted);
     }
     this.InvokeAsync("GetGreatCircleDistances", new object[] {
                 latLongs}, this.GetGreatCircleDistancesOperationCompleted, userState);
 }
コード例 #7
0
ファイル: Reference.cs プロジェクト: ericzhc/pdale
 public Location[] GetLocationInfo(LatLong location, string dataSourceName, GetInfoOptions options) {
     object[] results = this.Invoke("GetLocationInfo", new object[] {
                 location,
                 dataSourceName,
                 options});
     return ((Location[])(results[0]));
 }
コード例 #8
0
ファイル: Reference.cs プロジェクト: ericzhc/pdale
 /// <remarks/>
 public void GetGreatCircleDistancesAsync(LatLong[] latLongs) {
     this.GetGreatCircleDistancesAsync(latLongs, null);
 }
コード例 #9
0
ファイル: Reference.cs プロジェクト: ericzhc/pdale
 public double[] GetGreatCircleDistances(LatLong[] latLongs) {
     object[] results = this.Invoke("GetGreatCircleDistances", new object[] {
                 latLongs});
     return ((double[])(results[0]));
 }
コード例 #10
0
ファイル: Reference.cs プロジェクト: ericzhc/pdale
 /// <remarks/>
 public void ConvertToPointAsync(LatLong[] latLong, MapView view, int width, int height, object userState) {
     if ((this.ConvertToPointOperationCompleted == null)) {
         this.ConvertToPointOperationCompleted = new System.Threading.SendOrPostCallback(this.OnConvertToPointOperationCompleted);
     }
     this.InvokeAsync("ConvertToPoint", new object[] {
                 latLong,
                 view,
                 width,
                 height}, this.ConvertToPointOperationCompleted, userState);
 }
コード例 #11
0
ファイル: Reference.cs プロジェクト: ericzhc/pdale
 /// <remarks/>
 public void ConvertToPointAsync(LatLong[] latLong, MapView view, int width, int height) {
     this.ConvertToPointAsync(latLong, view, width, height, null);
 }
コード例 #12
0
ファイル: Reference.cs プロジェクト: ericzhc/pdale
 public PixelCoord[] ConvertToPoint(LatLong[] latLong, MapView view, int width, int height) {
     object[] results = this.Invoke("ConvertToPoint", new object[] {
                 latLong,
                 view,
                 width,
                 height});
     return ((PixelCoord[])(results[0]));
 }