I wanted to display End Label in MapsDirectionsTask
. I am using the below snippet
MapsDirectionsTask directionToATM = new MapsDirectionsTask();
LabeledMapLocation endLabelOnMap = new LabeledMapLocation("Test",
new GeoCoordinate(13.0022,077.5980));
directionToATM.End=endLabelOnMap;
directionToATM.Show();
But The End Label which is marked as "Test" is not populating in launcher.Also I tried to set the End label explicitly.
directionToATM.End.Label="Test";
But it is throwing exception of
"attempted to read write protected memory. this is often an indication that other memory is corrupt"