Online Access Free 070-544 Exam Questions

Exam Code:070-544
Exam Name:TS: Ms Virtual Earth 6.0, Application Development
Certification Provider:Microsoft
Free Question Number:135
Posted:Sep 10, 2025
Rating
100%

Question 1

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?

Question 2

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

Question 3

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?

Question 4

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?

Question 5

Your customer uses a Virtual Earth 6.0 map to display a road map. You need to ensure that the map displays aerial images with overlaid labels when the map is initially loaded.
What are two possible code segments you can use to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

Add Comments

Your email address will not be published. Required fields are marked *

insert code
Type the characters from the picture.