Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 public Route CalculateSimpleRoute(LatLong[] latLongs, string dataSourceName, SegmentPreference preference) {
     object[] results = this.Invoke("CalculateSimpleRoute", new object[] {
                 latLongs,
                 dataSourceName,
                 preference});
     return ((Route)(results[0]));
 }
Esempio n. 3
0
 /// <remarks/>
 public void CalculateSimpleRouteAsync(LatLong[] latLongs, string dataSourceName, SegmentPreference preference) {
     this.CalculateSimpleRouteAsync(latLongs, dataSourceName, preference, null);
 }
Esempio n. 4
0
 /// <remarks/>
 public void GetLocationInfoAsync(LatLong location, string dataSourceName, GetInfoOptions options) {
     this.GetLocationInfoAsync(location, dataSourceName, options, null);
 }
Esempio n. 5
0
 /// <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);
 }
Esempio n. 6
0
 /// <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);
 }
Esempio n. 7
0
 public Location[] GetLocationInfo(LatLong location, string dataSourceName, GetInfoOptions options) {
     object[] results = this.Invoke("GetLocationInfo", new object[] {
                 location,
                 dataSourceName,
                 options});
     return ((Location[])(results[0]));
 }
Esempio n. 8
0
 /// <remarks/>
 public void GetGreatCircleDistancesAsync(LatLong[] latLongs) {
     this.GetGreatCircleDistancesAsync(latLongs, null);
 }
Esempio n. 9
0
 public double[] GetGreatCircleDistances(LatLong[] latLongs) {
     object[] results = this.Invoke("GetGreatCircleDistances", new object[] {
                 latLongs});
     return ((double[])(results[0]));
 }
Esempio n. 10
0
 /// <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);
 }
Esempio n. 11
0
 /// <remarks/>
 public void ConvertToPointAsync(LatLong[] latLong, MapView view, int width, int height) {
     this.ConvertToPointAsync(latLong, view, width, height, null);
 }
Esempio n. 12
0
 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]));
 }