Which code segment should you insert at line 05?
You are integrating third-party data into a Virtual Earth 6.0 application. The data that is retrieved from the third party is stored in an array named Results. The Results array is stored inside a Web handler. The data is stored in the following format.
R esults[0][“name”] = “A. Datum Corporation”;
Results[0][“address”] = ” 123 Main St. , New York , NY “; Results[0][“latitude”] = “40.123”;
Results[0][“longitude”] = “-70.456”;
Results[0][“thumbnail”] = “http://www.adatum.com/st3465.jpg”; …
Results[x]
The Web handler uses the GeoRSSFeed class to accept items of type GeoRSSItem. The class contains the
ToString() method that writes the GeoRSS feed to a string.
The Web handler GeoRSS integration is defined by the following code segment. (Line numbers are included for reference only.)
01 GeoRSSFeed feed = new GeoRSSFeed();
02 GeoRSSItem curItem;
03 for (int i = 0; i < Results.length; i++){
04 curItem = new GeoRSSItem();
05 …
06 feed.Add(curItem);
07 }
08 // Write feed to HTTP Response
09 context.Write(feed.ToString());
The Web handler uses the GeoRSSItem class that contains the following code segment. (Line numbers are included for reference only.)
10 public class GeoRSSItem {
11 public Dictionary < string, string > elements;
12 publ ic GeoRSSItem(){
13 elements = Dictionary < string, string > ();
14 }
15 public void Add(string pName, string pValue){
16 elements.Add(pName, pValue);
17 }
18 }
You need to encode the data inside the Results array into the GeoRSS format.
Which code segment should you insert at line 05?
which the locations displayed on the map must lie. How should you define the boundary?
You are creating a Virtual Earth 6.0 application that retrieves locations from a Microsoft SQL Server 2005 database. A stored procedure will be used to retrieve only locations that lie within the currently displayed map area. You need to define the boundary within which the locations displayed on the map must lie. How should you define the boundary?
What are two possible ways to achieve the goal?
You create a Microsoft MapPoint Web Service application that accepts routes from users. You need to find points of interest that are within one mile of a route or within three miles of the endpoints of the route. What are two possible ways to achieve the goal? (Each correct answer presents a complete solution. Choose two.)
What should you do?
You are managing Microsoft MapPoint Web Service (MWS) data in an application by using the Customer Services site. The application uses the DS_ONE data source stored on the Customer Services site. The application displays several records in the wrong locations on the map. You need to display these records correctly on the map. What should you do?
Which two tasks should you perform?
You are creating a custom tile set by using Microsoft MapCruncher. The tile set must overlay a weather map image in a Virtual Earth 6.0 application by using MapCruncher. You need to perform two tasks before using MapCruncher to create the custom tile set. Which two tasks should you perform? (Each correct answer presents part of the solution. Choose two.)
Which two tasks should you perform?
You are updating a Virtual Earth 6.0 store locator. A database table named Stores contains the City and State fields. A Microsoft SQL Server 2005 function named CalculateDistance measures the distance between two points. The store locator contains a stored procedure named LookupStores that retrieves the names of stores located in a given city and state. The city and state are passed in as parameters to the stored procedure. You need to extend the store locator to support a proximity search within a given radius. Which two tasks should you perform? (Each correct answer presents part of the solution. Choose two.)
Which code segment should you use?
You are creating a Virtual Earth 6.0 application. The application will use data that is stored in the Microsoft MapCruncher output format.
The MapCruncher output is defined in the following manner:
var tileSrc =
http://dev.live.com/virtualearth/sdk/layers/layer1
You need to ensure that the application displays the data as a new layer on the Virtual Earth map.
Which code segment should you use?
What should you do?
A Virtual Earth 6.0 application loads locations from a local Microsoft SQL Server 2005 database. You update locations in the database manually. You plan to automate the manual process. You need to ensure that the automation process updates the maximum number of locations in the least amount of time. What should you do?
Which two actions should you perform?
You upload territory information to a data source on the Microsoft MapPoint Web Service. You receive the coordinates of a moving vehicle every 30 seconds. You need to identify the territory where the vehicle is currently located. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Which two actions should you perform?
You need to create a cluster of pushpins for a large dataset that takes the least amount of time to load on a Virtual Earth 6.0 map. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)