Community of VE/MapPoint Users and Developers
This is a discussion on Integrating Virtual Earth and MapPoint Web Service within the Virtual Earth Blogs forums, part of the Blogs category; The Virtual Earth Platform contains actually 2 services. Virtual Earth (VE) itself and the MapPoint Web Service (MWS). As a ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Integrating Virtual Earth and MapPoint Web Service The Virtual Earth Platform contains actually 2 services. Virtual Earth (VE) itself and the MapPoint Web Service (MWS). As a customer you have access to both services and if you just want to evaluate the MapPoint Web Service you can request an evaluation-account here. While Virtual Earth is implemented through an AJAX-control you can access the MapPoint Web Service through a SOAP-API. In general there are not many reasons why you would want to use MapPoint Web Service in the presentation layer. One of the exceptions might be the LineDrive map-style for driving directions which removes the complexity of the map and shows just the relevant pieces of the route. However, in the business layer and the backend MapPoint Web Service has still a few advantages such as:
While Virtual Earth has business listings available in some countries, MapPoint Web Service has point of interest databases for the North American and the European market. These POI data sources are organized hierarchically, e.g.: If you are interested for example in airports you can distinguish between minor airfields and major airports or you can get them all with one call. To do so you determine the Entity-name in the POI-table which is linked above, e.g. SIC4581 for major airports, SIC4580 for airfields or SICMaj45 if you want them all. Even when you get them all you can retrieve the Entity-Type from the results to set different icons (e.g. myResults.Results(j).FoundLocation.Entity.TypeName ). The limitation is that the search-radius may not be bigger than 400 km or 250 miles. Additionally you have to consider that MWS uses a search-radius while Virtual Earth (VE) has a rectangle mapview. To determine the search-radius you can retrieve the latitude and longitude from the upper-left corner and the centre-point in VE and pass them as parameter through an AJAX-call to a web handler which in turn calls MWS. In MWS we have a function which allows you to calculate distances between 2 or more pairs of latitudes and longitudes. Lets have a look at the process:
Below you will find a sample application.
This application uses a couple of your categories and adjusts the search-result whenever you pan or zoom the map. If you haven’t done so yet, you need to request a MWS developer account. To do so you will need a Windows Live ID. This account can later be converted into a production account. Once you have the credentials enter them in the web handler CallMWS.ashx 'Set up the web service The SDK for the MWS is available online here and available for download here. If you are using Java or PHP you may want to have a look at the MapPoint Multi-Platform Assistance. Centre.
Technorati Tags: Virtual Earth,MapPoint Web Service ![]() ![]() Click here to view the article. Last edited by Eric Frost; 03-30-2008 at 07:47 AM. |
![]() |
| ||||
| Posted By | For | Type | Date | |
| Integrating Virtual Earth and MapPoint Web Service - MapPoint Forums | This thread | Refback | 04-03-2008 08:37 AM | |
| The Magazine for MapPoint - MP2K Magazine | This thread | Refback | 03-30-2008 08:39 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Virtual Earth & SQL Server 2008 - Part 4: Integrating SQL Server 2008 and Virtual Earth (6/6) | Johannes Kebeck's Blog | Virtual Earth Blogs | 0 | 03-22-2008 08:13 AM |
| Virtual Earth & SQL Server 2008 - Part 4: Integrating SQL Server 2008 and Virtual Earth (4/6) | Johannes Kebeck's Blog | Virtual Earth Blogs | 0 | 03-03-2008 12:51 PM |
| Virtual Earth & SQL Server 2008 - Part 4: Integrating SQL Server 2008 and Virtual Earth (2/6) | Johannes Kebeck's Blog | Virtual Earth Blogs | 0 | 03-02-2008 03:52 PM |
| Integrating Microsoft Virtual Earth Maps into a Sharepoint Site | VE For Government | Virtual Earth Blogs | 0 | 01-08-2008 03:11 PM |
| Difference between Virtual Earth and MapPoint Web Service | Eric Frost | News and Announcements | 0 | 10-29-2006 08:00 AM |
Ski Deals
Book first-rate ski holidays from the leading travel brands at exceptionally competitive prices. Check out the latest range of ski deal online at Holiday Hypermarket.
Portugal Holidays
Find and book Portugal Holidays with Travel Counsellors. Holiday destinations around the world including Portugal.
Holiday Cuba
Most of all though, you will remember your Holiday in Cuba for the people. Naturally open and friendly with the warmest welcome in the Caribbean. Book at dealchecker.co.uk today.
All Inclusive Maldives
Visit The Holiday Place.co.uk for great deals on all inclusive holidays to the Maldives. Book a holiday to the outstandingly beautiful Maldives.
Balearics
Before booking to the Balearics Islands make sure you check out our travel guide online. The Balearics are renowned for their vibrant nightlife but there are also some stunning Gothic cathedrals, Stone Age ruins and fishing villages.
Inclusive late deals
For inclusive late deals, check out your options at Travel.co.uk and have fun!
Holidays to Cyprus
Take the plunge into a world of summer splendour! Find information on holidays to Cyprus online, only at On The Beach.