1 / 31

BB10 – Live Platform: Deep Dive on Virtual Earth

BB10. BB10 – Live Platform: Deep Dive on Virtual Earth.  Mark Brown Sr. Product Manager Virtual Earth Microsoft Corporation. Agenda. What is Virtual Earth? Using Virtual Earth New Features in Virtual Earth v6.2 Feature Demos New Features in Virtual Earth Web Services v1.0

nero
Download Presentation

BB10 – Live Platform: Deep Dive on Virtual Earth

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. BB10 BB10 – Live Platform:Deep Dive on Virtual Earth  Mark Brown Sr. Product Manager Virtual Earth Microsoft Corporation

  2. Agenda • What is Virtual Earth? • Using Virtual Earth • New Features in Virtual Earth v6.2 • Feature Demos • New Features in Virtual Earth Web Services v1.0 • Feature Demos • Advanced Development with Virtual Earth • Next Steps

  3. What Is Virtual Earth? Maps.Live.com Your Application Virtual Earth Platform (AJAX Control & Virtual Earth Web Services) Map Data Tiles Imagery Tiles Elevation and 3D Models Search Geo-coding Yellow Pages /POI data TrafficData Routing and Directions Data Services & Reporting

  4. The Virtual Earth AJAX Control • User Interface • Access to both 2D and 3D; road, aerial & bird’s eye imagery • Navigation tools: zoom box, mouse wheel, navigation panel, mini-map • Events & callbacks to respond to user control • Shapes • Points, Lines, Polygons • Client-side clustering of points • Placed on Layers with custom pop-ups • Find • Geocoding, Points of Interest/Yellow Pages listings • Routing • Multipoint routing, driving & walking directions • Integration • Vector data from: GeoRSS/KML, Live Search Maps collections • Raster data from custom tile layers (MapCruncher)

  5. Virtual Earth Web Services 1.0 • Imagery Service • Static Maps and Tiles • Image Metadata • Maps & Imagery for Mobile Devices • Search Service • Filtering • Map Collections • Geocode Service • Forward & Reverse Geocoding • Route Service • Multi-point routing • Major Routes (one-click directions)

  6. Adding Virtual Earth To A Web Page <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2"></script> <script type="text/javascript"> var map = null; function GetMap() { map = new VEMap('myMap'); map.LoadMap(); } </script> </head> <body onload="GetMap();"> <div id='myMap' style="position:relative; width:400px; height:400px;"></div> </body> </html>

  7. New Features Virtual Earth Control v6.2

  8. Imagery Metadata API With imagery metadata of selected areas, users can now find out the age of a given aerial image. This additional detail will help customers assess if the imagery is still relevant to their needs. var veImageryMetadataOptions = new VEImageryMetadataOptions(); veImageryMetadataOptions.LatLong = new VELatLong(47.64432, -122.13053); map.GetImageryMetadata(ShowImageryDate, veImageryMetadataOptions); function ShowImageryDate(metadata) { alert("Image taken between " + metadata.DateRangeStart + " and " + metadata.DateRangeEnd); }

  9. Routing Landmark Hints Available for the U.S. and Canada, landmark hints adds more detail to maps and routes by including names of gas stations and fast-food restaurants (e.g. Chevron, Shell, McDonald’s, and Wendy’s.)

  10. feature demo Routing Landmark Hints

  11. Localized Tiles Localized maps of Western Europe are now available in U.S. English, German, French, Spanish, and Italian. This is addition to maps in English outside Europe and in Japanese for Japan. Supported in both desktop and mobile applications. <script type="text/javascript" src="http://staging.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2&mkt=fr-fr"></script>

  12. feature demo Localized Tiles

  13. Pushpin Clustering Pushpin Clustering allows you toreveal multiple pushpins to your customers at larger zoom levels and either cluster or hide pushpins to maintain visual clarity at smaller zoom levels. varveCustomIcon = new VECustomIconSpecification(); veCustomIcon.Image = "MultiplePushpins.png"; varveClusteringOptions = new VEClusteringOptions(); veClusteringOptions.Icon = veCustomIcon; varshapeLayer = map.GetShapeLayerByIndex(0); shapeLayer.SetClusteringConfiguration(VEClusteringType.Grid, veClusteringOptions);

  14. feature demo Pushpin Clustering

  15. Feature Breakdown • Virtual Earth • Web Services v1.0

  16. Static Map Generation The new Virtual Earth Web Services offersstatic map imagesfrom road andaerial maps in both standard and mobile-optimized forms. ImageryServiceClientimageryService = new ImageryServiceClient(); MapUriRequestmapuriReq = new MapUriRequest { Credentials = new Credentials { Token = token }, Center = new Location { Latitude = 47.64122, Longitude = -122.107848 }, Options = new MapUriOptions { ZoomLevel = 5, Style = MapStyle.AerialWithLabels, ImageType = ImageType.Gif, ImageSize = new SizeOfint { Height = 400, Width = 400 }, } }; MapUriResponsemapuriRep = imageryService.GetMapUri(mapuriReq);

  17. feature demo Static Maps

  18. Geocoding And Reverse-Geocoding The full power of Microsoft'sgeocodingengine is available through the new Virtual Earth Web Services. 85 Million rooftop locations in the US, and many millions more locations around the world can be found with a simpleserver-side call. GeocodeServiceClientgeocodeService = new GeocodeServiceClient(); GeocodeRequestgeoReq = new GeocodeRequest { Credentials = new Credentials { Token = token }, Address = new Address { AddressLine="1 Microsoft Way", Locality="Redmond", AdminDistrict="WA" } }; GeocodeResponsegeoResp = geocodeService.Geocode( geoReq );

  19. feature demo Geocoding

  20. Tile Metadata With imagery metadata of selected areas,users can now find out the relative age of a given aerial image. This level of detail will help your customers assess if the imagery is still relevant to their needs. ImageryServiceClientimageryService = new ImageryServiceClient(); ImageryMetadataRequestmetaReq = new ImageryMetadataRequest { Credentials = new Credentials { Token = token }, Style = MapStyle.Aerial, Options = new ImageryMetadataOptions { Location = new Location { Latitude = 47.64122, Longitude = -122.107848 }, ZoomLevel = 12 } }; ImageryMetadataResponsemetares = imageryService.GetImageryMetadata(metaReq);

  21. Routing The full power of the Microsoft Virtual Earth routing engine, exposed through SOAP-based web services, expands the potential for powerful location-based mobile applications or by letting server-side code work with routing data before it is sent to the user. RouteServiceClientroutingService = new RouteServiceClient(); Waypoint[] points = new Waypoint[2]; points[0] = new Waypoint { Location = new Location{ Latitude=47.741278, Longitude=-121.107844 } }; points[1] = new Waypoint { Location = new Location{ Latitude=47.068869, Longitude=-117.364317 } }; RouteRequestrouteReq = new RouteRequest { Credentials = new Credentials { Token = token }, Waypoints = points }; RouteResponserouteResp = routingService.CalculateRoute(routeReq);

  22. One-Click Directions Allow your customers to getdirections in one click directly from your Virtual Earth Web application. Users instantly get directions from east, west, north, and south, without having to enter a starting address. Route options include shortest time, shortest distance, or traffic flow. RouteServiceClientroutingService = new RouteServiceClient(); MajorRoutesRequestmajReq = new MajorRoutesRequest { Credentials = new Credentials{ Token = token }, Destination = new Waypoint { Location = new Location{ Latitude=47.641278, Longitude=-122.107844} } }; MajorRoutesResponsemajResp = routingService.CalculateRoutesFromMajorRoads(majReq);

  23. feature demo Routing

  24. Search Service “One Box” and “What/Where”search servicesthat include custom metadata filters allow users to search for businesses in ways that match their specific needs. SearchServiceClientsearchService = new SearchServiceClient(); SearchRequestsearchReq = new SearchRequest { Credentials = new Credentials { Token = token }, StructuredQuery = new StructuredSearchQuery { Keyword = "Coffee Shop", Location = "Seattle" } }; SearchResponsesearchResp = searchService.Search( searchReq );

  25. feature demo Searching

  26. demo Advanced Virtual Earth Development

  27. Next Steps • To speak to us: maplic@microsoft.com • For Partners: mapptner@microsoft.com • SDK’s, examples, blogs and more http://dev.live.com/virtualearth • New Whitepaper: • Virtual Earth Web Services Silverlight App • http://msdn.microsoft.com/en-us/library/cc879136.aspx

  28. q & a

  29. Evals & Recordings Please fill out your evaluation for this session at: This session will be available as a recording at: www.microsoftpdc.com

  30. © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related