70-544 試験問題を無料オンラインアクセス
| 試験コード: | 70-544 |
| 試験名称: | TS: Ms Virtual Earth 6.0, Application Development |
| 認定資格: | Microsoft |
| 無料問題数: | 135 |
| 更新日: | 2026-11-29 |
You are creating a Virtual Earth 6.0 application. The application allows users to enter an address and view the corresponding mapped location. A Print Preview link appears next to the location. The link opens a pop-up window that contains the location information in a query string.
The map load in the pop-up window is defined by the following code segment. (Line numbers are included for reference only.)
0 1 var loc = ... ;
0 2 var map = null;
0 3 function GetMap(){
0 4 map = new VEMap('PrintPreviewMap');
0 5 map.LoadMap();
0 6 ...
0 7 }
The variable named loc in the code segment is an object that contains the id, address, latitude, longitude, and zoom properties that are present in the query string.
You need to ensure that the pop-up window meets the following requirements:
It uses the properties in the query string to display the location.
It does not display map controls.
Which code segment should you insert at line 06?
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.
Results(0).Add("name", "Mike Pizzaria") Results(0).Add("address", "123 Main St., New
York, NY") Results(0).Add("latitude", "40.123") Results(0).Add("longitude", "-70.456")
Results(0).Add("thumbnail", "http://www.site.com/st3465.jpg") ... Return Results 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 Dim feed As New GeoRSSFeed() 02 Dim curItem As GeoRSSItem
03 For i As Integer = 0 To Results.Count - 1 04 curItem = New GeoRSSItem() 05 ... 06 feed.Add(curItem) 07 Next 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 elements As Dictionary(Of String, String) 12 Public
Sub New() 13 elements = New Dictionary(Of String, String)() 14 End Sub 15 Public Sub
Add(ByVal pName As String, _ ByVal pValue As String) 16 elements.Add(pName, pValue)
17 End Sub 18 Public Overloads Overrides Function ToString() As String 19 Dim returnValue As New StringBuilder() 20 For Each key As String In elements.Keys 21 returnValue.AppendFormat("" & Chr(9) & "" & _ Chr(9) & "<{0}>{1}</{0}>" & Chr(10) & "", _ key, elements(key)) 22 Next 23 Return returnValue.ToString() 24 End Function 25 End
Class You need to encode the data inside the Results array into the GeoRSS format.
Which code segment should you insert at line 05?
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?
Your Microsoft MapPoint Web Service (MWS) User Id is 124566, and your MWS password is P@ssw0rd. You need to use MWS to create an application. Which code segment should you use?
DRAG DROP - (Topic 0)
Your company wants to display their branch office locations on a Virtual Earth 6.0 map within their intranet; The location information is stored in a GeoRSS file.
You need to create a map with a layer for the GeoRSS data.
What should you do? (To answer, move all the actions from the list of actions to the answer area and arrange them in the correct order.)
