70-544試験無料問題集「Microsoft TS: Ms Virtual Earth 6.0, Application Development 認定」

Your customer disables all standard mouse events on a Virtual Earth 6.0 map. You need to add a double-click function on the left mouse button for the map. What are two possible code segments you can use to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

You need to create a tile source specification that meets the following requirements:
It uses three tile servers named s0, s1, and s2.
It follows the standard Virtual Earth 6.0 numbering scheme.
It ensures that the tiles are visible in all the view types.
Which tile source parameter should you use within the tile source specification?

Your company wants to display customer locations as pushpins on a Virtual Earth 6.0 map.
You need to ensure that the pushpins are loaded after the Virtual Earth map is loaded.
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?

You are creating a Virtual Earth 6.0 map. You use a page template that has a transparent header. You write the following HTML fragment to define the template.
0 1 <head>
0 2 <script type="text/javascript">
0 3 var map = null;
0 4 function GetMap(){
0 5 FormatMap();
0 6 map = new VEMap('Map');
0 7 map.LoadMap();
0 8 }
0 9 function FormatMap(){
1 0 var mapEl = document.getElementById('Map');
1 1 var headEl = document.getElementById('Header');
1 2 ...
1 3 }
1 4 </head>
1 5 <body onload="GetMap();">
1 6 <div id='Header' style="position: relative; left: 5px; top:
5px; width:400px; height:100px; border: 2px solid black;">
17 Header
18 </div>
1 9 <div id='Map'></div>
2 0 </body>
You need to position the map so that the header is overlaid on the map and centered at the top.
Which code segment should you insert at line 12?

Your company displays apartments as pushpins on a Virtual Earth 6.0 map. You need to display the images of the apartments along with associated information in a tabular format within a pushpin pop-up bubble. What should you do?

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?

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.)

You deploy a Virtual Earth 6.0 application that uses Microsoft ASP.NET Asynchronous
JavaScript and XML (AJAX) implementation to retrieve data.
The myAjaxCallback function evaluates any AJAX response. The function contains the following code segment. (Line numbers are included for reference only.)
0 1 function myAjaxCallback (){
0 2 if (xmlHttp.readyState == 4){
0 3 ...
0 4 }
0 5 }
At the time the request was made, the server was overloaded. When the server processed the AJAX request, the server returned an error message.
You need to ensure that the application does not produce a fatal exception due to the error generated from the AJAX response.
Which code segment should you insert at line 03?

You need to add a default pushpin as a shape to the base map layer at a specific latitude and longitude. Which code segment should you use?