Upgrading your application in virtual earth
This article describes how we can upgrade out virtual earth application from earlier versions of the map control into the recent version. There are two methods for doing this, which are given below:
Convert previous virtual earth versions to virtual earth 6.1 and Convert from virtual earth 5 to virtual earth 6.1.
Convert previous virtual earth versions to virtual earth 6.1: There are important changes in every release of the virtual earth map control. If we compare the latest version of map control with previous map control then the latest version provides you much functionality than other kinds of map control. Now we will discuss what kinds of changes are needed for migrating from map control versions 2, 3, 4, and 5, into map control version 6.1.
If there is release of any virtual earth map control, then it needs a reference. Every release of the virtual earth map control always needs a little different tag Src attribute. If we compare new versions of virtual earth with Map control version 2 then version 2 makes use of very different device for displaying a map. Version 2 makes use of Msn.VE.MapControl method for creating a map. All new versions of virtual earth make use of a Virtual earth map object.
Version 3, the virtual earth map object offers methods to create, to load and to set the map. Version 3 of virtual earth makes use of MSN.VE>LatLong objects for defining longitude and latitude coordinates. The release of the version 5 map control combined the virtual earth pushpin, virtual earth polygon and virtual earth polyline into virtual earth shape class. Versions 2 of the map control had only pushpins.
All versions of virtual earth should have the ability of searching for locations and it is essential for all versions of virtual earth. Version 5 of map control renamed some of the map events, which are used in2, 3, and 4 versions. In addition to this, there are some other new events available. In 2, 3, and 4 versions a common method is used to attach events with pushpins. In 6.1 version events are attached with map. Versions 5 and 6.1 not only offer you more events but you also have much control over events in version 5 and 6.1.
Versions 3, 4 and 5 make use of VEMap.GetRoute method for getting a route but 6.1 version makes use of different method like VEMap
Convert from virtual earth 5 to virtual earth 6.1: Even if the release of version 6.1 of map control provides many new features, the map control is well matched with the previous version 5 of the map control. This article examines the changes from version 5 to version 6.1. The addition of VEMap.GetDirections method is the most important change in the new release. This new method permits multi-point routing through which you are able to specify numerous points. With the help of specification of these points, a route and direction can be computed.
Technorati Tags: Microsoft, virtual earth, using virtual earth, features of virtual earth,
Tags: Microsoft Virtual Earth
























