Community of VE/MapPoint Users and Developers
This is a discussion on How to bring your own content to Virtual Earth (Part 1) within the Virtual Earth Blogs forums, part of the Blogs category; This is going to be another sequel of postings. I will cover how to bring*various types of content*to Virtual Earth. ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||||||||||||||||||||||||||
| How to bring your own content to Virtual Earth (Part 1) This is going to be another sequel of postings. I will cover how to bring*various types of content*to Virtual Earth. For each part there will be a downloadable sample application which includes the previous parts and the new content until we have at the end a full demo-suite. The content-types I look at are:
Getting Started The Virtual Earth MapControl is an AJAX-control. AJAX stands for Asynchronous Java And XML and the*major advantage*is really that you can do a partial page-updates which allows you to bring a high interactivity to your web application. The VE MapControl allows you for instance to attach mouse- and keyboard events to the map; for example you can*zoom-in and out with the mouse-wheel. A very well hidden feature are the various keyboard-events that we capture. Here are the most important ones:
The control will be loaded as an AJAX component in the client's web browser and it retrieves the tiles directly from one of the Microsoft data centers. Each tile has a size of 256 x 256 pixels and they will be cached for up to 7 days in the client's browsers cache. If you load or navigate the map the control will first try to find the tiles it needs in the client's browser cache and only if they can't be found there it contacts the Microsoft data center.*Various information like Points of Interest (POI) or other vector or raster data can be retrieved from different servers which makes*Virtual Earth*a perfect mashup-component. Where there is light there is always shade as well and one of the disadvantages of AJAX is the lack of standardization. Different browsers*require sometimes different commands when it comes to JavaScript or they don't support AJAX at all (e.g. most of the browser versions for mobile devices). This means that the developer has to test the application for all the browsers he wants to support. Here are the system requirements for Virtual Earth in 2D-mode: 32-bit and 64-bit versions of
Well, these are the officially supported browsers but as you know*other browsers use the same Gecko-engine as Firefox does and*thus it will work with the comparable versions of Netscape and Mozilla as well. In 3D-mode we not only have a browser requirement, we also have a platform*requirement because*the 3D-component*is implemented as a .NET-managed component which installs as a browser plug-in and requires the .NET Framework 2 and the Windows Imaging Component. Here are the*additional system requirements for 3D-mode:
What do you need to write your first Virtual Earth application? Well,*as mentioned above Virtual Earth is an AJAX control it can be implemented in pure HTML-pages and controlled via JavaScript. Thus you can use any development environment and even Notepad (or if you are on Linux VI) are used. I am spoiled by Visual Studio so I will use for the following steps:
To get into the Software Development Kit (SDK) I recommend the:
Further resources can be found in my Windows Live Favorites on my Windows Live Space. |
![]() |
| Tags |
| bring, content, part, virtual earth |
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 @ WPC | VirtualEarth MSDN Blog | Virtual Earth Blogs | 0 | 09-15-2007 03:17 PM |
| MSN Virtual Earth. | Eric Frost | News and Announcements | 0 | 11-03-2006 12:27 PM |
| Virtual Earth 4 | Eric Frost | MapPoint Web Service and Virtual Earth | 0 | 10-31-2006 11:17 PM |
| Virtual Earth Video | Eric Frost | MapPoint Web Service and Virtual Earth | 0 | 08-22-2005 04:59 PM |
| Virtual Earth News | Eric Frost | MapPoint Web Service and Virtual Earth | 0 | 08-02-2005 04:52 PM |