Virtual Earth API: Adding KML or GeoRSS Layers to the Map

One of the new features of the Virtual Earth v6 Map Control API is the ability to import KML layers on the map.  Previous versions of the API allowed you to import GeoRSS using client-side XML parsing.  However, one of the restrictions was that the GeoRSS file had to be on the same domain as…


Virtual Earth API: Bulk Adding Pushpins to a Layer to Improve Performance

One of the new features from the Virtual Earth v6 Map Control API is the ability to bulk add groups of pushpins to the map in one step.  This improves performance when putting a large number of pushpins on the map since the HTML markup of the pushpins is serialized and inserted in the map…


Virtual Earth API: Setting Altitude of Shapes

The Virtual Earth v6 map control API added support for setting altitude of VEShapes in Virtual Earth 3D.  There is a new SetAltitude method on VEShape which takes in 2 parameters: VEShape.SetAltitude(altitude, altitudeMode); The altitude parameter is the altitude specified in meters.  The altitudeMode parameter is an optional VEAltitudeMode enumeration specifying the mode of the…


Virtual Earth API: Customizing Mouse Wheel Zoom

The Virtual Earth map control supports several interactive ways to zoom in and out on the 2D map view.  For example, you can: Click on (or click and hold) the zoom In/zoom Out icons on the navigation control. Double-click on the map to zoom in at a particular point. Hold down the “Alt” key and…


Virtual Earth API: Accurately Position Points in Birdseye

In the Virtual Earth v6 API, one of the new features is improved Birdseye accuracy.  The Virtual Earth v6 API has some new methods to more accurately position pushpins when in Birdseye view.  Satellite (Aerial/Hybrid) and Road imagery views are direct overhead views, so calculations to position a pushpin at an exact latitude and longitude…


Virtual Earth API: How to Create a Full-Screen Virtual Earth Mashup

Using the Virtual Earth Map Control API, it is very simple to create a mashup application that is full screen and takes up the entire browser window.  Here is the source code for creating a v6 Virtual Earth full-screen mashup: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “”><html><head><title>Virtual Earth v6 API – Full Screen Sample</title><meta…


California Fires

The fire outbreak in California has been an immense tragedy with millions of people displaced from their homes and millions of dollars of damage.  Access to the latest information is critical for many trying to find loved ones, trying to evacuate, and those trying to return to their homes.  You can see the latest information on…


Virtual Earth Videos on Channel 10

Check out the videos on the new Virtual Earth release on 10.  There are two videos posted — One shows how to do Virtual Earth 3D Tours and the other shows how to create 3D models using the 3DVIA Technology Preview: New Release of Virtual Earth 3-D Models in Virtual Earth


Virtual Earth API: Simple Multipoint Routing Example

One of the new features of the Virtual Earth API is multipoint routing.  Now, you can specify multiple points on a route and get directions to/from them.  The new GetDirections call on the VEMap makes it easy to do this. For example, here’s a simple code sample which shows how to get driving directions from…


Virtual Earth API: Using Shaded Map Style

A new map style was added for the Virtual Earth v6 Map Control API which allows you to have shaded relief maps.  For example, here is a screenshot of the traditional road map style (VEMapStyle.Road) in Virtual Earth over the Grand Canyon: Here is the same location using the new shaded map style: To use…