Last active
September 3, 2015 12:37
-
-
Save suchithm/552d72cf92db22904a59 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
//Google GeoCode class | |
public class AddressComponent | |
{ | |
public string long_name { get; set; } | |
public string short_name { get; set; } | |
public List<string> types { get; set; } | |
} | |
public class Northeast | |
{ | |
public double lat { get; set; } | |
public double lng { get; set; } | |
} | |
public class Southwest | |
{ | |
public double lat { get; set; } | |
public double lng { get; set; } | |
} | |
public class Bounds | |
{ | |
public Northeast northeast { get; set; } | |
public Southwest southwest { get; set; } | |
} | |
public class Location | |
{ | |
public double lat { get; set; } | |
public double lng { get; set; } | |
} | |
public class Northeast2 | |
{ | |
public double lat { get; set; } | |
public double lng { get; set; } | |
} | |
public class Southwest2 | |
{ | |
public double lat { get; set; } | |
public double lng { get; set; } | |
} | |
public class Viewport | |
{ | |
public Northeast2 northeast { get; set; } | |
public Southwest2 southwest { get; set; } | |
} | |
public class Geometry | |
{ | |
public Bounds bounds { get; set; } | |
public Location location { get; set; } | |
public string location_type { get; set; } | |
public Viewport viewport { get; set; } | |
} | |
public class Result | |
{ | |
public List<AddressComponent> address_components { get; set; } | |
public string formatted_address { get; set; } | |
public Geometry geometry { get; set; } | |
public string place_id { get; set; } | |
public List<string> types { get; set; } | |
} | |
public class GeoCodeJSONClass | |
{ | |
public List<Result> results { get; set; } | |
public string status { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment