PrepAway - Latest Free Exam Questions & Answers

Category: 70-544

Exam 70-544: TS: Bing Maps Platform, Application Development

Which code segment should you use?

You are creating a browser-based Web application by using Virtual Earth 6.0 map control. A Web page of the application has a map and a list of locations.

When a user selects a location from the list, the application must meet the following requirements:

A default view of the selected location is loaded.
The selected location is centered.
The selected location appears in the three-dimensional mode, at an oblique pitch, and heads due north.

You need to program Virtual Earth map control to ensure that the requirements are met.

Which code segment should you use?

which the locations displayed on the map must lie. How should you define the boundary?

You are creating a Virtual Earth 6.0 application that retrieves locations from a Microsoft SQL Server 2005 database. A stored procedure will be used to retrieve only locations that lie within the currently displayed map area. You need to define the boundary within which the locations displayed on the map must lie. How should you define the boundary?

var pos=location.search.indexOf("?

You are creating a Web application. You are given the URL of a Web page. When the URL is encoded with map control properties, it generates custom maps by using the Virtual Earth 6.0 map control.

The Web page uses the following JavaScript code segment to decode the URL.

var pos=location.search.indexOf(“?”) +1;
var loc1=location.search.substr(pos);
var point1=loc1.split(” & “);
var a= point1[0];
var b= point1[1];
var c= point1[2];
var d=point1[3];
var e= point1[4];
var f= point1[5];
var g= point1[6];
map=new VEMap(‘myMap’);
map.LoadMap(new VELatLong(a,b),c,d,e,f,g);

You need to encode the URL to generate a custom map by using your own settings.

Which encoded URL should you use?


Page 3 of 912345...Last »