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