Last active
September 3, 2015 10:37
-
-
Save suchithm/252afca1be6c4fb25840 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//rest request to google direction api | |
internal static string strGoogleDirectionUrl="https://maps.googleapis.com/maps/api/directions/json?origin=src_locn&destination=dest_lcn&key=keyGoesHere"; | |
string strJSONDirectionResponse = await FnHttpRequest(strGoogleDirectionUrl); | |
var objRoutes = JsonConvert.DeserializeObject<GoogleDirectionClass> ( jSonData ); | |
//find GoogleDirectionClass below in this page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment