Which code segment 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 navigational aid to the users.
When the Web page loads, it must meet the following requirements:

The map must appear in the two-dimensional mode.
The users must be able to view the roads on the map and navigate through the map. The users must not be able to change the map to the three-dimensional mode.

You need to ensure that the Web page meets the requirements.

Which code segment 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 navigational aid to the users.
When the Web page loads, it must meet the following requirements:

The map must appear in the two-dimensional mode.
The users must be able to view the roads on the map and navigate through the map. The users must not be able to change the map to the three-dimensional mode.

You need to ensure that the Web page meets the requirements.

Which code segment should you use?

A.
map.LoadMap(new VELatLong(-33.85,18.6), 11,’r’, true, VEMapMode.Mode2D, false);

B.
map.LoadMap(new VELatLong(-33.85,18.6),11,’r’, false, VEMapMode.Mode2D, false);

C.
map.LoadMap(new VELatLong(-33.85,18.6),11,’r’, true, VEMapMode.Mode2D, true);

D.
map.LoadMap(new VELatLong(-33.85,18.6),11,’r’, false, VEMapMode.Mode2D, true);



Leave a Reply 0

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