Which two actions should you perform?
You have the following information about a hurricane path:
Latitudes
Longitudes
Time
Description
A measure point of the above data every 10 minutes
You need to display the movement, time, and description of the hurricane path on a Virtual Earth 6.0 map.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
What should you do?
You add a new pushpin to a Virtual Earth 6.0 map. You are creating an algorithm to calculate the polygon representation of a pushpin cluster. You write a step to verify that the pushpin belongs to the cluster. You need to identify whether to recalculate the polygon representation.
What should you do?
What should you do?
Your company salesman plans to visit five customers located in five different cities. You need to display the shortest route that covers all five customer locations on a Web-based map. What should you do?
What should you do?
You want to define a route specification for the fastest route in the United Kingdom between a start point, 30 intermediate stops, and an end point. You call the Microsoft MapPoint Web Service method named CalculateSimpleRoute. You also set an array of latitude and longitude values for all the points and stops as the first parameter. You need to set the required parameters for the route specification. What should you do?
Which code segment should you use?
You are creating a Virtual Earth 6.0 application.
A Web page of the application contains the following code segment.
control = document.createElement (“div”);
control.id = ” CustomControl “;
A custom control must be added on top of the map on the Web page.
You need to ensure that the custom control responds only to its own mouse-click events.
Which code segment should you use?
Which code segment should you use?
You are creating a Virtual Earth 6.0 application to be viewed by using Microsoft Internet Explorer. The Web pages of the application contain maps.
The head section of the Web pages contains the following code fragment.
<script type=”text/javascript”>
var map = null;
function GetMap(){
map = new VEMap(‘Map’);
map.LoadMap();
ResizeMap();
}
</script> <style type=”text/css”>
html, body{ overflow:hidden; }
</style>
The body section of the Web pages contains the following code fragment.
<body onload=”GetMap();”>
<div id=’Map’ style=”position:relative; width:400px;
height:400px;”></div>
</body>
You need to resize the maps on the Web pages so that they exactly fit into the dimensions of the available browser area.
Which code segment should you use?
Which code segment should you use?
You are creating a Web application by using the Virtual Earth 6.0 map control.
A Web page of the application loads a map of a predefined location by using the following code segment.
var map = null;
var defView1= new VEMapViewSpecification(new
VELatLong(40.689167,-74.04472), 16, 360, -45, 0);
function GetMap(){
map = new VEMap(‘myMap’);
map.LoadMap(); map.SetMapView(defView1);
map.SetMapStyle(‘h’)
map.SetMapMode(VEMapMode.Mode3D);
}
You need to display a zoomed out view of the main map in a separate control on the same Web page.
Which code segment should you use?
Which code segment should you use?
You are creating a Web application by using the Virtual Earth 6.0 map control. A Web page of the application provides navigational aid to the users.
When the Web page loads, it must meet the following requirements:
The map must appear in the two-dimensional mode.
The users must be able to view the roads on the map and navigate through the map. The users must not be able to change the map to the three-dimensional mode.
You need to ensure that the Web page meets the requirements.
Which code segment should you use?
Which code fragment should you insert at line 03?
You are creating a Virtual Earth 6.0 application. The Web pages of the application contain a header section, a body section, and a map control section.
The body section of the Web pages contains the following code fragment. (Line numbers are included for reference only.)
01 <div id=’Header’ style=”width:400px;
02 height:100px; background-color: red;”></div>
03 …
04 <div id=’Controls’ style=”width:400px;”>
05 <p align=”center”>Search text:
06 <input type=’text’ id=’Where’ />
07 <input type=’button’ id=’Search’ value=’Search’
08 onclick=”Find();” />
09 </p>
10 </div>
You need to ensure that the maps contained on the Web pages fit correctly between the header section and the map control section.
Which code fragment should you insert at line 03?
Which code segment should you use?
You are creating a Web application by using the Virtual Earth 6.0 map control. A Web page of the application loads two map controls named Map1 and Map2. Map1 displays a navigable, primary map. Map2 is the secondary instance of Map1 and displays an overview of the primary map. You need to ensure that when the user navigates the primary map, the overview is automatically updated. Which code segment should you use?