// ----------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ----------------------------------------------------------------------------
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Runtime Version: 1.1.4322.2032
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
//
// This source code was auto-generated by Microsoft.VSDesigner, Version 1.1.4322.2032.
//
namespace mapdemo.MapPointService
{
using System.Diagnostics;
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Web.Services;
///
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="CommonServiceSoap", Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(MapPointConstants))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(FindResult[]))]
public class CommonServiceSoap : System.Web.Services.Protocols.SoapHttpClientProtocol {
public CustomerInfoHeader CustomerInfoHeaderValue;
public UserInfoHeader UserInfoHeaderValue;
///
public CommonServiceSoap() {
this.Url = "http://findv3.staging.mappoint.net/Find-30/Common.asmx";
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetVersionInfo", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public VersionInfo[] GetVersionInfo() {
object[] results = this.Invoke("GetVersionInfo", new object[0]);
return ((VersionInfo[])(results[0]));
}
///
public System.IAsyncResult BeginGetVersionInfo(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetVersionInfo", new object[0], callback, asyncState);
}
///
public VersionInfo[] EndGetVersionInfo(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((VersionInfo[])(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetCountryRegionInfo", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public CountryRegionInfo[] GetCountryRegionInfo(int[] entityIDs) {
object[] results = this.Invoke("GetCountryRegionInfo", new object[] {
entityIDs});
return ((CountryRegionInfo[])(results[0]));
}
///
public System.IAsyncResult BeginGetCountryRegionInfo(int[] entityIDs, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetCountryRegionInfo", new object[] {
entityIDs}, callback, asyncState);
}
///
public CountryRegionInfo[] EndGetCountryRegionInfo(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((CountryRegionInfo[])(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetEntityTypes", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public EntityType[] GetEntityTypes(string dataSourceName) {
object[] results = this.Invoke("GetEntityTypes", new object[] {
dataSourceName});
return ((EntityType[])(results[0]));
}
///
public System.IAsyncResult BeginGetEntityTypes(string dataSourceName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetEntityTypes", new object[] {
dataSourceName}, callback, asyncState);
}
///
public EntityType[] EndGetEntityTypes(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((EntityType[])(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetDataSourceInfo", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public DataSource[] GetDataSourceInfo(string[] dataSourceNames) {
object[] results = this.Invoke("GetDataSourceInfo", new object[] {
dataSourceNames});
return ((DataSource[])(results[0]));
}
///
public System.IAsyncResult BeginGetDataSourceInfo(string[] dataSourceNames, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetDataSourceInfo", new object[] {
dataSourceNames}, callback, asyncState);
}
///
public DataSource[] EndGetDataSourceInfo(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((DataSource[])(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetGreatCircleDistances", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Double[] GetGreatCircleDistances(LatLong[] latLongs) {
object[] results = this.Invoke("GetGreatCircleDistances", new object[] {
latLongs});
return ((System.Double[])(results[0]));
}
///
public System.IAsyncResult BeginGetGreatCircleDistances(LatLong[] latLongs, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetGreatCircleDistances", new object[] {
latLongs}, callback, asyncState);
}
///
public System.Double[] EndGetGreatCircleDistances(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Double[])(results[0]));
}
}
///
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="FindServiceSoap", Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(MapPointConstants))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(FindResult[]))]
public class FindServiceSoap : System.Web.Services.Protocols.SoapHttpClientProtocol {
public CustomerInfoFindHeader CustomerInfoFindHeaderValue;
public UserInfoFindHeader UserInfoFindHeaderValue;
///
public FindServiceSoap() {
this.Url = "http://findv3.staging.mappoint.net/Find-30/FindService.asmx";
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/Find", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public FindResults Find(FindSpecification specification) {
object[] results = this.Invoke("Find", new object[] {
specification});
return ((FindResults)(results[0]));
}
///
public System.IAsyncResult BeginFind(FindSpecification specification, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Find", new object[] {
specification}, callback, asyncState);
}
///
public FindResults EndFind(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((FindResults)(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindAddress", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public FindResults FindAddress(FindAddressSpecification specification) {
object[] results = this.Invoke("FindAddress", new object[] {
specification});
return ((FindResults)(results[0]));
}
///
public System.IAsyncResult BeginFindAddress(FindAddressSpecification specification, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("FindAddress", new object[] {
specification}, callback, asyncState);
}
///
public FindResults EndFindAddress(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((FindResults)(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/ParseAddress", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public Address ParseAddress(string inputAddress, string countryRegion) {
object[] results = this.Invoke("ParseAddress", new object[] {
inputAddress,
countryRegion});
return ((Address)(results[0]));
}
///
public System.IAsyncResult BeginParseAddress(string inputAddress, string countryRegion, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ParseAddress", new object[] {
inputAddress,
countryRegion}, callback, asyncState);
}
///
public Address EndParseAddress(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((Address)(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetLocationInfo", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public Location[] GetLocationInfo(LatLong location, string dataSourceName, GetInfoOptions options) {
object[] results = this.Invoke("GetLocationInfo", new object[] {
location,
dataSourceName,
options});
return ((Location[])(results[0]));
}
///
public System.IAsyncResult BeginGetLocationInfo(LatLong location, string dataSourceName, GetInfoOptions options, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetLocationInfo", new object[] {
location,
dataSourceName,
options}, callback, asyncState);
}
///
public Location[] EndGetLocationInfo(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((Location[])(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindNearby", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public FindResults FindNearby(FindNearbySpecification specification) {
object[] results = this.Invoke("FindNearby", new object[] {
specification});
return ((FindResults)(results[0]));
}
///
public System.IAsyncResult BeginFindNearby(FindNearbySpecification specification, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("FindNearby", new object[] {
specification}, callback, asyncState);
}
///
public FindResults EndFindNearby(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((FindResults)(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindByProperty", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public FindResults FindByProperty(FindByPropertySpecification specification) {
object[] results = this.Invoke("FindByProperty", new object[] {
specification});
return ((FindResults)(results[0]));
}
///
public System.IAsyncResult BeginFindByProperty(FindByPropertySpecification specification, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("FindByProperty", new object[] {
specification}, callback, asyncState);
}
///
public FindResults EndFindByProperty(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((FindResults)(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindByID", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public FindResults FindByID(FindByIDSpecification specification) {
object[] results = this.Invoke("FindByID", new object[] {
specification});
return ((FindResults)(results[0]));
}
///
public System.IAsyncResult BeginFindByID(FindByIDSpecification specification, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("FindByID", new object[] {
specification}, callback, asyncState);
}
///
public FindResults EndFindByID(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((FindResults)(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindNearRoute", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public FindResults FindNearRoute(FindNearRouteSpecification specification) {
object[] results = this.Invoke("FindNearRoute", new object[] {
specification});
return ((FindResults)(results[0]));
}
///
public System.IAsyncResult BeginFindNearRoute(FindNearRouteSpecification specification, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("FindNearRoute", new object[] {
specification}, callback, asyncState);
}
///
public FindResults EndFindNearRoute(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((FindResults)(results[0]));
}
}
///
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="RouteServiceSoap", Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(MapPointConstants))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(FindResult[]))]
public class RouteServiceSoap : System.Web.Services.Protocols.SoapHttpClientProtocol {
public CustomerInfoRouteHeader CustomerInfoRouteHeaderValue;
public UserInfoRouteHeader UserInfoRouteHeaderValue;
///
public RouteServiceSoap() {
this.Url = "http://routev3.staging.mappoint.net/Route-30/RouteService.asmx";
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoRouteHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoRouteHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/CalculateSimpleRoute", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public Route CalculateSimpleRoute(LatLong[] latLongs, string dataSourceName, SegmentPreference preference) {
object[] results = this.Invoke("CalculateSimpleRoute", new object[] {
latLongs,
dataSourceName,
preference});
return ((Route)(results[0]));
}
///
public System.IAsyncResult BeginCalculateSimpleRoute(LatLong[] latLongs, string dataSourceName, SegmentPreference preference, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CalculateSimpleRoute", new object[] {
latLongs,
dataSourceName,
preference}, callback, asyncState);
}
///
public Route EndCalculateSimpleRoute(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((Route)(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoRouteHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoRouteHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/CalculateRoute", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public Route CalculateRoute(RouteSpecification specification) {
object[] results = this.Invoke("CalculateRoute", new object[] {
specification});
return ((Route)(results[0]));
}
///
public System.IAsyncResult BeginCalculateRoute(RouteSpecification specification, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CalculateRoute", new object[] {
specification}, callback, asyncState);
}
///
public Route EndCalculateRoute(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((Route)(results[0]));
}
}
///
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="RenderServiceSoap", Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(MapPointConstants))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(FindResult[]))]
public class RenderServiceSoap : System.Web.Services.Protocols.SoapHttpClientProtocol {
public CustomerInfoRenderHeader CustomerInfoRenderHeaderValue;
public UserInfoRenderHeader UserInfoRenderHeaderValue;
///
public RenderServiceSoap() {
this.Url = "http://renderv3.staging.mappoint.net/Render-30/RenderService.asmx";
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoRenderHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoRenderHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetMap", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public MapImage[] GetMap(MapSpecification specification) {
object[] results = this.Invoke("GetMap", new object[] {
specification});
return ((MapImage[])(results[0]));
}
///
public System.IAsyncResult BeginGetMap(MapSpecification specification, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetMap", new object[] {
specification}, callback, asyncState);
}
///
public MapImage[] EndGetMap(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((MapImage[])(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoRenderHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoRenderHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/ConvertToPoint", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
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]));
}
///
public System.IAsyncResult BeginConvertToPoint(LatLong[] latLong, MapView view, int width, int height, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ConvertToPoint", new object[] {
latLong,
view,
width,
height}, callback, asyncState);
}
///
public PixelCoord[] EndConvertToPoint(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((PixelCoord[])(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoRenderHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoRenderHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/ConvertToLatLong", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public LatLong[] ConvertToLatLong(PixelCoord[] pixels, MapView view, int width, int height) {
object[] results = this.Invoke("ConvertToLatLong", new object[] {
pixels,
view,
width,
height});
return ((LatLong[])(results[0]));
}
///
public System.IAsyncResult BeginConvertToLatLong(PixelCoord[] pixels, MapView view, int width, int height, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ConvertToLatLong", new object[] {
pixels,
view,
width,
height}, callback, asyncState);
}
///
public LatLong[] EndConvertToLatLong(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((LatLong[])(results[0]));
}
///
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoRenderHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoRenderHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetBestMapView", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public MapViewRepresentations GetBestMapView(Location[] locations, string dataSourceName) {
object[] results = this.Invoke("GetBestMapView", new object[] {
locations,
dataSourceName});
return ((MapViewRepresentations)(results[0]));
}
///
public System.IAsyncResult BeginGetBestMapView(Location[] locations, string dataSourceName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetBestMapView", new object[] {
locations,
dataSourceName}, callback, asyncState);
}
///
public MapViewRepresentations EndGetBestMapView(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((MapViewRepresentations)(results[0]));
}
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
public class CustomerInfoRenderHeader : CustomerInfoHeader {
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
public class UserInfoRouteHeader : UserInfoHeader {
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
public class CustomerInfoRouteHeader : CustomerInfoHeader {
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
public class UserInfoRenderHeader : UserInfoHeader {
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(UserInfoRenderHeader))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(UserInfoFindHeader))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(UserInfoRouteHeader))]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
public class UserInfoHeader : System.Web.Services.Protocols.SoapHeader {
///
public CultureInfo Culture;
///
public DistanceUnit DefaultDistanceUnit;
///
public CountryRegionContext Context;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class CultureInfo {
///
public string Name;
///
public int Lcid;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class FindAddressSpecification {
///
public string DataSourceName;
///
public Address InputAddress;
///
public FindOptions Options;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class Address {
///
public string AddressLine;
///
public string PrimaryCity;
///
public string SecondaryCity;
///
public string Subdivision;
///
public string PostalCode;
///
public string CountryRegion;
///
public string FormattedAddress;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class FindOptions {
///
public FindRange Range;
///
public int SearchContext;
///
public FindResultMask ResultMask;
///
[System.ComponentModel.DefaultValueAttribute(0.85)]
public System.Double ThresholdScore = 0.85;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class FindRange {
///
[System.ComponentModel.DefaultValueAttribute(0)]
public int StartIndex = 0;
///
[System.ComponentModel.DefaultValueAttribute(25)]
public int Count = 25;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
[System.FlagsAttribute()]
public enum FindResultMask {
///
LatLongFlag = 1,
///
EntityFlag = 2,
///
AddressFlag = 4,
///
BestMapViewFlag = 8,
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class FindNearbySpecification {
///
public string DataSourceName;
///
public LatLong LatLong;
///
public System.Double Distance;
///
public FindFilter Filter;
///
public FindOptions Options;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class LatLong {
///
[System.ComponentModel.DefaultValueAttribute(0)]
public System.Double Latitude = 0;
///
[System.ComponentModel.DefaultValueAttribute(0)]
public System.Double Longitude = 0;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class FindFilter {
///
public string EntityTypeName;
///
public string[] PropertyNames;
///
public WhereClause WhereClause;
///
public SortProperty[] SortProperties;
///
public FilterExpression Expression;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class WhereClause {
///
[System.Xml.Serialization.XmlArrayItemAttribute("Property")]
public EntityPropertyValue[] SearchProperties;
///
public SearchOperatorFlag SearchOperator;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class EntityPropertyValue {
///
public string Name;
///
public object Value;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public enum SearchOperatorFlag {
///
And,
///
Or,
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class SortProperty {
///
public string PropertyName;
///
public SortDirection Direction;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public enum SortDirection {
///
Ascending,
///
Descending,
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class FilterExpression {
///
public string Text;
///
public object[] Parameters;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class MapPointConstants {
///
[System.ComponentModel.DefaultValueAttribute(6378.2)]
public System.Double EarthRadiusInKilometers = 6378.2;
///
[System.ComponentModel.DefaultValueAttribute(3.1415926535897931)]
public System.Double Pi = 3.1415926535897931;
///
[System.ComponentModel.DefaultValueAttribute(0.017453292519943295)]
public System.Double RadiansPerDegree = 0.017453292519943295;
///
[System.ComponentModel.DefaultValueAttribute(57.295779513082323)]
public System.Double DegreesPerRadian = 57.295779513082323;
///
[System.ComponentModel.DefaultValueAttribute(0.621371192237334)]
public System.Double MilesPerKilometer = 0.621371192237334;
///
[System.ComponentModel.DefaultValueAttribute(1.609344)]
public System.Double KilometersPerMile = 1.609344;
///
[System.ComponentModel.DefaultValueAttribute(0.0003048)]
public System.Double KilometersPerFoot = 0.0003048;
///
[System.ComponentModel.DefaultValueAttribute(3280.8398950131232)]
public System.Double FeetPerKilometer = 3280.8398950131232;
///
[System.ComponentModel.DefaultValueAttribute(0.85)]
public System.Double FindScoreThreshold = 0.85;
///
[System.ComponentModel.DefaultValueAttribute(96)]
public int AssumedDpi = 96;
///
[System.ComponentModel.DefaultValueAttribute(3.280839895013123)]
public System.Double FeetPerMeter = 3.280839895013123;
///
[System.ComponentModel.DefaultValueAttribute(0.3048)]
public System.Double MetersPerFoot = 0.3048;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class FindByIDSpecification {
///
public string DataSourceName;
///
public FindFilter Filter;
///
public FindOptions Options;
///
public int[] EntityIDs;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class FindNearRouteSpecification {
///
public string DataSourceName;
///
public System.Double Distance;
///
public FindFilter Filter;
///
public FindOptions Options;
///
public Route Route;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class Route {
///
public RouteSpecification Specification;
///
public RouteItinerary Itinerary;
///
public CalculatedRouteRepresentation CalculatedRepresentation;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class RouteSpecification {
///
public SegmentSpecification[] Segments;
///
public RouteResultMask ResultMask;
///
public string DataSourceName;
///
public DriverProfile DriverProfile;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class SegmentSpecification {
///
public Waypoint Waypoint;
///
public SegmentOptions Options;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class Waypoint {
///
public Location Location;
///
public SnapType Snap;
///
public string Name;
///
public Location CalculatedLocation;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class Location {
///
public LatLong LatLong;
///
public Entity Entity;
///
public Address Address;
///
public MapViewRepresentations BestMapView;
///
public string DataSourceName;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class Entity {
///
public int ID;
///
public string Name;
///
public string DisplayName;
///
public string TypeName;
///
[System.Xml.Serialization.XmlArrayItemAttribute("Property")]
public EntityPropertyValue[] Properties;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class MapViewRepresentations {
///
public ViewByScale ByScale;
///
public ViewByHeightWidth ByHeightWidth;
///
public ViewByBoundingRectangle ByBoundingRectangle;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class ViewByScale : MapView {
///
[System.ComponentModel.DefaultValueAttribute(0)]
public System.Double MapScale = 0;
///
public LatLong CenterPoint;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(ViewByScale))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(ViewByHeightWidth))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(ViewByBoundingRectangle))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(ViewByBoundingLocations))]
public abstract class MapView {
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class ViewByHeightWidth : MapView {
///
[System.ComponentModel.DefaultValueAttribute(0)]
public System.Double Height = 0;
///
[System.ComponentModel.DefaultValueAttribute(0)]
public System.Double Width = 0;
///
public LatLong CenterPoint;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class ViewByBoundingRectangle : MapView {
///
public LatLongRectangle BoundingRectangle;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class LatLongRectangle {
///
public LatLong Southwest;
///
public LatLong Northeast;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class ViewByBoundingLocations : MapView {
///
public Location[] Locations;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public enum SnapType {
///
Normal,
///
City,
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class SegmentOptions {
///
public SegmentPreference Preference;
///
[System.ComponentModel.DefaultValueAttribute(true)]
public bool CalculateSegmentMapView = true;
///
[System.ComponentModel.DefaultValueAttribute(true)]
public bool CalculateDirectionMapView = true;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public enum SegmentPreference {
///
Quickest,
///
Shortest,
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
[System.FlagsAttribute()]
public enum RouteResultMask {
///
Itinerary = 1,
///
CalculatedRouteRepresentation = 2,
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class DriverProfile {
///
[System.ComponentModel.DefaultValueAttribute(-1)]
public int DayStartTime = -1;
///
[System.ComponentModel.DefaultValueAttribute(-1)]
public int DayEndTime = -1;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class RouteItinerary {
///
public Segment[] Segments;
///
public long TripTime;
///
public long DrivingTime;
///
public System.Double Distance;
///
public MapViewRepresentations View;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class Segment {
///
public Waypoint Waypoint;
///
public Direction[] Directions;
///
public long TripTime;
///
public long DrivingTime;
///
public System.Double Distance;
///
public MapViewRepresentations View;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class Direction {
///
public LatLong LatLong;
///
public DirectionType DirectionType;
///
public DirectionAction Action;
///
public System.Single BearingOutOfTurn;
///
public System.Single BearingIntoTurn;
///
public long Duration;
///
public System.Double Distance;
///
public string Towards;
///
public string Instruction;
///
public string FormattedInstruction;
///
public int ID;
///
public MapViewRepresentations View;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public enum DirectionType {
///
Driving,
///
Border,
///
StartOfDay,
///
EndOfDay,
///
Warning,
///
Waypoint,
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public enum DirectionAction {
///
Other,
///
Depart,
///
Arrive,
///
TurnLeft,
///
TurnRight,
///
BearLeft,
///
BearRight,
///
Merge,
///
Continue,
///
TurnBack,
///
TakeRoundabout,
///
ConstructionDelay,
///
ConstructionStop,
///
NameChange,
///
LeftLeft,
///
LeftRight,
///
RightLeft,
///
RightRight,
///
TakeRamp,
///
TakeRampLeft,
///
TakeRampRight,
///
KeepStraight,
///
KeepLeft,
///
KeepRight,
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class CalculatedRouteRepresentation {
///
[System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
public System.Byte[] Bits;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class FindByPropertySpecification {
///
public string DataSourceName;
///
public FindFilter Filter;
///
public FindOptions Options;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class GetInfoOptions {
///
[System.ComponentModel.DefaultValueAttribute(true)]
public bool IncludeAddresses = true;
///
[System.ComponentModel.DefaultValueAttribute(true)]
public bool IncludeAllEntityTypes = true;
///
public string[] EntityTypesToReturn;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class MimeData {
///
[System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
public System.Byte[] Bits;
///
public string ContentID;
///
public string MimeType;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class PixelRectangle {
///
public int Bottom;
///
public int Left;
///
public int Right;
///
public int Top;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class HotArea {
///
public PixelRectangle IconRectangle;
///
public PixelRectangle LabelRectangle;
///
public string PinID;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class MapImage {
///
public HotArea[] HotAreas;
///
public MimeData MimeData;
///
public MapViewRepresentations View;
///
public string Url;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class PixelCoord {
///
public int X;
///
public int Y;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class Pushpin {
///
public string IconDataSource;
///
public string IconName;
///
public string Label;
///
public LatLong LatLong;
///
public string PinID;
///
public PixelCoord Pixel;
///
public bool ReturnsHotArea;
///
public bool LabelNearbyRoads;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class ImageFormat {
///
[System.ComponentModel.DefaultValueAttribute("image/gif")]
public string MimeType = "image/gif";
///
[System.ComponentModel.DefaultValueAttribute(240)]
public int Height = 240;
///
[System.ComponentModel.DefaultValueAttribute(296)]
public int Width = 296;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class MapOptions {
///
public RouteHighlightColor RouteHighlightColor;
///
public RouteHighlightColor ConstructionDelayHighlightColor;
///
public RouteHighlightColor ConstructionClosureHighlightColor;
///
[System.ComponentModel.DefaultValueAttribute(MapFontSize.Smaller)]
public MapFontSize FontSize = MapFontSize.Smaller;
///
public ImageFormat Format;
///
[System.ComponentModel.DefaultValueAttribute(false)]
public bool IsOverviewMap = false;
///
[System.ComponentModel.DefaultValueAttribute(MapReturnType.ReturnImage)]
public MapReturnType ReturnType = MapReturnType.ReturnImage;
///
public System.Double PanHorizontal;
///
public System.Double PanVertical;
///
public MapStyle Style;
///
[System.ComponentModel.DefaultValueAttribute(1)]
public System.Double Zoom = 1;
///
[System.ComponentModel.DefaultValueAttribute(false)]
public bool PreventIconCollisions = false;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public enum RouteHighlightColor {
///
DefaultColor,
///
Green,
///
Yellow,
///
Cyan,
///
Red,
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public enum MapFontSize {
///
Smallest,
///
Smaller,
///
Medium,
///
Larger,
///
Largest,
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public enum MapReturnType {
///
ReturnImage,
///
ReturnUrl,
///
ReturnSecureUrl,
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public enum MapStyle {
///
DefaultStyle,
///
Locator,
///
Terrain,
///
Road,
///
Political,
///
Small,
///
LocatorBW,
///
TerrainBW,
///
RoadBW,
///
PoliticalBW,
///
SmallBW,
///
Comprehensive,
///
PhysicalFeatures,
///
Tectonic,
///
EarthByDay,
///
EarthByNight,
///
Ecoregions,
///
Climate,
///
TemperatureJanuary,
///
TemperatureJuly,
///
PrecipitationJanuary,
///
PrecipitationJuly,
///
PrecipitationAnnual,
///
Languages,
///
Religions,
///
PopulationDensity,
///
Parks,
///
TimeZones,
///
Outline,
///
Phone,
///
PhoneBW,
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class MapSpecification {
///
public string DataSourceName;
///
public int[] HighlightedEntityIDs;
///
public string[] HideEntityTypes;
///
public MapOptions Options;
///
public Pushpin[] Pushpins;
///
public Route Route;
///
public MapView[] Views;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class FindResult {
///
public System.Double Score;
///
public Location FoundLocation;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class FindResults {
///
public int NumberFound;
///
public int StartIndex;
///
public FindResult[] Results;
///
public System.Double TopScore;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class FindSpecification {
///
public string DataSourceName;
///
public string InputPlace;
///
public string[] EntityTypeNames;
///
public FindOptions Options;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class DataSource {
///
public string Name;
///
public string Version;
///
public string Description;
///
public DataSourceCapability Capability;
///
public int[] EntityExtent;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
[System.FlagsAttribute()]
public enum DataSourceCapability {
///
CanDrawMaps = 1,
///
CanFindPlaces = 2,
///
CanFindNearby = 4,
///
CanRoute = 8,
///
CanFindAddress = 16,
///
HasIcons = 32,
///
DataServiceQuery = 64,
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class EntityProperty {
///
public string Name;
///
public string DisplayName;
///
public string DataType;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class EntityType {
///
public string Name;
///
public string DisplayName;
///
public string ParentName;
///
public string Definition;
///
[System.Xml.Serialization.XmlArrayItemAttribute("Property")]
public EntityProperty[] Properties;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class CountryRegionInfo {
///
public int EntityID;
///
public LatLong LatLong;
///
public string Iso2;
///
public string Iso3;
///
public string FriendlyName;
///
public string OfficialName;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class VersionInfo {
///
public string Component;
///
public string Version;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public class CountryRegionContext {
///
[System.ComponentModel.DefaultValueAttribute(0)]
public int EntityID = 0;
///
public string Iso2;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
public enum DistanceUnit {
///
Kilometer,
///
Mile,
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerInfoRouteHeader))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerInfoFindHeader))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerInfoRenderHeader))]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
public class CustomerInfoHeader : System.Web.Services.Protocols.SoapHeader {
///
public short CustomLogEntry;
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
public class UserInfoFindHeader : UserInfoHeader {
}
///
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
public class CustomerInfoFindHeader : CustomerInfoHeader {
}
}