Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Chamando MapsDirectionTask
private void Address_Tap(object sender, System.Windows.Input.GestureEventArgs e)
MapsDirectionsTask mapsDirectionsTask = new MapsDirectionsTask();
GeoCoordinate CoordenadaFinal = new GeoCoordinate(LatItem, LngItem);
LabeledMapLocation EndPoint = new LabeledMapLocation(PanoramaDetailItem.Title.ToString(), CoordenadaFinal);
mapsDirectionsTask.End = EndPoint;
// If mapsDirectionsTask.Start is not set, the user's current location is used as the start point.
catch (Exception erro)

This comment has been minimized.

Copy link
Owner Author

commented Mar 7, 2014


Type 'Newtonsoft.Json.Linq.JObject' with data contract name 'ArrayOfKeyValueOfstringJTokeneJCYCtcq:' is not expected. Add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to DataContractSerializer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.