What are two possible code segments you can use to achieve this goal?
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.)
What are two possible ways to achieve this goal?
You need to hide the compass and the zoom control on a two-dimensional Virtual Earth 6.0 map. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
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?
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 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 fragment 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 links to a number of pre-defined locations. The application must meet the following requirements:
The links can be shared.
The links are encoded with map properties.
Users can copy the links to the Windows clipboard.
You need to write code to meet the requirements.
Which code fragment should you use?
Which code segment should you insert at line 12?
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.
01 <head>
02 <script type=”text/javascript”>
03 var map = null;
04 function GetMap(){
05 FormatMap();
06 map = new VEMap(‘Map’);
07 map.LoadMap();
08 }
09 function FormatMap(){
10 var mapEl = document.getElementById(‘Map’);
11 var headEl = document.getElementById(‘Header’);
12 …
13 }
14 </head>
15 <body onload=”GetMap();”>
16 <div id=’Header’ style=”position: relative; left: 5px; top:
5px; width:400px; height:100px; border: 2px solid black;”> 17 Header
18 </div>
19 <div id=’Map’></div>
20 </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?
Which Cascading Style Sheet (CSS) class should you use?
You are creating a Virtual Earth 6.0 map. The map displays a pop-up box. You call the ClearInfoBoxStyles method. You need to set the fill color of the pop-up box to yellow.
Which Cascading Style Sheet (CSS) class should you use?
Which two actions should you perform?
The intranet site of your company displays an interactive map with a table. You need to ensure that the data row associated with a specific pushpin on the map is highlighted when a user points the mouse to the pushpin. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
What are two possible code segments you can use to achieve this goal?
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.)