1

ドキュメントを使用し、すべての手順に従いましたが、コードを実装しようとすると何も表示されません。

BingMapsDirectionsTask bingMapsDirectionsTask = new BingMapsDirectionsTask();

// You can specify a label and a geocoordinate for the end point.
GeoCoordinate spaceNeedleLocation = new GeoCoordinate(-33.3935,-070.6215);
LabeledMapLocation spaceNeedleLML = new LabeledMapLocation("camino las rosas,santiago,chile", spaceNeedleLocation);

// If you set the geocoordinate parameter to null, the label parameter is used as a search term.
// LabeledMapLocation spaceNeedleLML = new LabeledMapLocation("Space Needle", null);

bingMapsDirectionsTask.End = spaceNeedleLML;

// If bingMapsDirectionsTask.Start is not set, the user's current location is used as the start point.

bingMapsDirectionsTask.Show();
4

0 に答える 0