Virtual Earth’s web services
The program Virtual Earth is an included search, mapping, location as well as imaging platform that you are able to make use of to give your business a significant edge. Various businesses are also looking for integrating in to their web sites plus products as the technology continues to corrode distances boundaries that once existed. Including the program Virtual Earth into a WPF based application not only it is used as the basis form, which you are able to form few, complicated user interfaces however it also as the baseline functionality present with the Java Script. The maps returned by the program Virtual Earth are actively overlaid with data as such graphs, heat maps or possibly icons, which represents definite data values. WPF offers much better control over how the map is bringing plus this includes the ability of including the Virtual Earth maps into a 3-Dimensional scene.
It is very easy to learn how to build a WPF map control that makes use of the functionality exposed by the VE web services. This is broken into three major crucial parts as such how to build typical navigational behavior, how to connect to the VE Web Services as well as show a map image in a WPF user control. To get started with the connection to the VE web services, you need to first open a new WPF application named as the Virtual Earth Mapping as well as need to add anew user control named as the Map Control that include MapCntrol.xaml.cs as well as MapControl.xaml. The first need in order to build a WPF user control, which makes use of the VE for displaying a map, is to add references to the VE web services. By adding references to these services inside visual studio will also allow its users for working with streamlining the process to apply communicate with a remote service as well as type safe service calls. For identifying the interaction session, a developer account should be formed as well as a token returned.
The Virtual Earth web services are made up of four services i.e. search, geocoding, imagery as well as routing. All of these services are constructed making use of the Windows Communication Foundation also named as the WCF. It is very easy for you to generate the proxy classes inside Visual Studio 2008. All of the VE web services require a token to be supplied for legalizing the caller. This token is like a ticket that exclusively distinguishes the interaction session. For forming a token, which can be used you require to call the GetClienttoken method as well as must apply supply a password and account id. This way is located at common service, which is in fact an ASMX web service. You require registering for the program Virtual Earth platform developer account in order to attain an account id as well as the password. The code snippet will form an example of the common service, call the get client token way to inhabit the VE token property as well as supply the Virtual Earth platform developer account credentials.
Technorati Tags: Microsoft, Virtual Earth’s features, using Virtual Earth,
Tags: Microsoft Virtual Earth
























