Geocoding.Google.GoogleGeocoder.EvaluateLocationType C# (CSharp) Method

EvaluateLocationType() private method

https://developers.google.com/maps/documentation/geocoding/?csw=1#Results
private EvaluateLocationType ( string type ) : GoogleLocationType
type string
return GoogleLocationType
		private GoogleLocationType EvaluateLocationType(string type)
		{
			switch (type)
			{
				case "ROOFTOP": return GoogleLocationType.Rooftop;
				case "RANGE_INTERPOLATED": return GoogleLocationType.RangeInterpolated;
				case "GEOMETRIC_CENTER": return GoogleLocationType.GeometricCenter;
				case "APPROXIMATE": return GoogleLocationType.Approximate;

				default: return GoogleLocationType.Unknown;
			}
		}