What are two possible code segments you can use to achieve this goal?

The locations of the vehicles of your company are available as coordinates. You need to display only the current location of a vehicle on a Virtual Earth 6.0 base map layer. What are two possible code segments you can use to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

The locations of the vehicles of your company are available as coordinates. You need to display only the current location of a vehicle on a Virtual Earth 6.0 base map layer. What are two possible code segments you can use to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

A.
map = new VEMap(‘myMap’); map.LoadMap(); layer = new VEShapeLayer(); map.AddShapeLayer(layer); shape = new VEShape(VEShapeType.Pushpin, new VELatLong(latitude, longitude)); layer.AddShape(shape);

B.
map = new VEMap(‘myMap’); map.LoadMap(); map.AddPushpin(new VELatLong(latitude, longitude));

C.
map = new VEMap(‘myMap’); map.LoadMap(); shape = new VEShape(VEShapeType.Pushpin, new VELatLong(latitude, longitude)); map.AddShape(shape);

D.
map = new VEMap(‘myMap’); map.LoadMap(); layer = new VEShapeLayer(); map.AddShapeLayer(layer); shape = new VEShape(VEShapeType.Pushpin, new VELatLong(longitude, latitude)); layer.AddShape(shape);

E.
map = new VEMap(‘myMap’); map.LoadMap(); map.AddPushpin(new VELatLong(longitude, latitude));



Leave a Reply 0

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