/// <summary> /// Returns a <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>. /// </summary> /// <returns> /// A <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>. /// </returns> public override string ToString() { return((_point != null) ? string.Format("{0},{1}", JsUtility.Encode(_point.Latitude), JsUtility.Encode(_point.Longitude)) : Address); }
/// <summary> /// Returns a <see cref="System.String"/> that represents this instance. /// </summary> /// <returns> /// A <see cref="System.String"/> that represents this instance. /// </returns> public override string ToString() { return(string.Format("{0},{1}:{2},{3}", JsUtility.Encode(SouthWest.Latitude), JsUtility.Encode(SouthWest.Longitude), JsUtility.Encode(NorthEast.Latitude), JsUtility.Encode(NorthEast.Longitude))); }
/// <summary> /// Returns a <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>. /// </summary> /// <returns> /// A <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>. /// </returns> public override string ToString() { return(string.Format("{0},{1}", JsUtility.Encode(Latitude), JsUtility.Encode(Longitude))); }