tattooliner.blogg.se

Virtual earth 3d map
Virtual earth 3d map




  1. #Virtual earth 3d map how to
  2. #Virtual earth 3d map code
  3. #Virtual earth 3d map windows

The map is created with a height of 400px and width of 600px.

#Virtual earth 3d map code

This code creates a map that appears, by default, in the upper left-hand corner of the page. So in order to create a map on your Web page, you create a div tag first and then a VEMap instance binding to that tag, as shown here: Programming Virtual Earth var map = new VEMap("mymapcontroldiv") map.LoadMap() A Virtual Earth map is simply an HTML div element on a Web page that binds to a VEMap object. VERouteType.Quickest.Įnumeration indicating the type of the content layer valid values are VELayerType.GeoRSS and VELayerType.VECollection.ĭefines a content layer that can be bound to a valid map instance two types of content layers are supported by the VEMap class: geo RSS and Virtual Earth Collections. Values are: VEOrientation.North, VEOrientation.South, VEOrienta­-Įnumeration indicating distance unit types: VEDistanceUnit.Miles or VEDistanceUnit.Kilometers.Įnumeration indicating the type of requested route: VERouteType.Shortest vs. To program with Birdseye map navigation, you always need to obtain the underlying scene.Įnumeration indicating North, South, East, West. Represents the current Birdseye map view. Available values are: VEMapStyle.Road, VEMapStyle.Aerial, VEMapStyle.Hybrid, VEMapStyle.Oblique, and VEMapStyle.Birdseye. This class has source, name, and message properties.Įnumeration indicating the valid map styles supported in Virtual Earth APIs. A collection of these objects is usually contained in a VEFindResults object. Represents point of interest (POI) instances after a find method call. A valid instance of this class contains a collection of VEFindResult objects. An instance of this class is returned from a valid map control instance when a valid find operation is performed. Represents results after a find method call. An instance of this class is returned from a valid map control instance when a valid route is created. Represents a route, itinerary details, and geometry to render the route. When you include this file on your Web page, the classes listed in Figure 2 will be available for you to program with.įigure 2 Classes/Enums Available in Virtual Earth APIs ClassĬontains all the features for creating a map, finding places, addresses, points of interest, and so on.ĭefines a pushpin and holds information about it.ĭefines a point with latitude and longitude coordinates.ĭefines a polyline and its color, opacity, width, and so forth.ĭefines a color with Red, Green, Blue, and Transparency values. Virtual Earth APIs are exposed as a set of JavaScript classes that can be included on your HTML or ASPX page using the script tag: All this is made possible through asynchronous JavaScript communication that occurs between the browser and the Virtual Earth app servers.įigure 1** Windows Live Local Web Site ** When you begin clicking, you'll notice that map interaction is enabled using the mouse and keyboard, that interaction doesn't require page refreshes, and that search, pan, and zoom are performed asynchronously for a better end-user experience. The first thing you'll see is the interactive map (see Figure 1).

#Virtual earth 3d map windows

Let's take a look at the Windows Live™ Local Web site.

#Virtual earth 3d map how to

In this article, I'll highlight some of the most salient features of the Virtual Earth APIs and show you how to build rich, powerful mapping and local search apps. You can build your own application or Web site that uses Virtual Earth mapping technologies by using the Virtual Earth map control, a JavaScript component that provides all the functionality you need to draw maps, search for locations, and get driving directions.

virtual earth 3d map

It is implemented using a mix of both server-side and client-side technologies that include ASP.NET, asynchronous JavaScript, and JavaScript Object Notation (JSON).

virtual earth 3d map

Virtual Earth™ technology was built by the same team that created MapPoint® 2006 and the MapPoint Web service. Virtual Earth is the mapping technology that powers, the latest local search and mapping site from Microsoft. This article uses the following technologies: Pinpointing locations and points of interest.Adding a Virtual Earth map to your site.All information contained herein is subject to change. This article is based on a prerelease version of Virtual Earth. Code Your Applications To Deliver The World With Virtual Earth APIs






Virtual earth 3d map