/// <summary> /// Gets details about the place by reference. /// </summary> /// <param name="key"> /// Your application's API key. \n /// This key identifies your application for purposes of quota management and so that places added from your application are made immediately available to your app.\n /// Visit the Google Developers Console to create an API Project and obtain your key. /// </param> /// <param name="reference"> /// A textual identifier that uniquely identifies a place, returned from a Place Search.\n /// Note: The reference is now deprecated in favor of placeid. /// </param> /// <param name="language"> /// The language code, indicating in which language the results should be returned, if possible.\n /// Note that some fields may not be available in the requested language. /// </param> /// <returns>Query instance to the Google API.</returns> public static OnlineMapsGoogleAPIQuery FindByReference(string key, string reference, string language = null) { OnlineMapsFindPlaceDetails query = new OnlineMapsFindPlaceDetails(key, null, reference, language); OnlineMaps.instance.AddGoogleAPIQuery(query); return(query); }
/// <summary> /// Gets details about the place by place_id. /// </summary> /// <param name="key"> /// Your application's API key.\n /// This key identifies your application for purposes of quota management and so that places added from your application are made immediately available to your app.\n /// Visit the Google Developers Console to create an API Project and obtain your key. /// </param> /// <param name="place_id">A textual identifier that uniquely identifies a place, returned from a Place Search.</param> /// <param name="language"> /// The language code, indicating in which language the results should be returned, if possible.\n /// Note that some fields may not be available in the requested language. /// </param> /// <returns>Query instance to the Google API.</returns> public static OnlineMapsGoogleAPIQuery FindByPlaceID(string key, string place_id, string language = null) { OnlineMapsFindPlaceDetails query = new OnlineMapsFindPlaceDetails(key, place_id, null, language); OnlineMaps.instance.AddGoogleAPIQuery(query); return(query); }
/// <summary> /// Gets details about the place by reference. /// </summary> /// <param name="key"> /// Your application's API key. \n /// This key identifies your application for purposes of quota management and so that places added from your application are made immediately available to your app.\n /// Visit the Google Developers Console to create an API Project and obtain your key. /// </param> /// <param name="reference"> /// A textual identifier that uniquely identifies a place, returned from a Place Search.\n /// Note: The reference is now deprecated in favor of placeid. /// </param> /// <param name="language"> /// The language code, indicating in which language the results should be returned, if possible.\n /// Note that some fields may not be available in the requested language. /// </param> /// <returns>Query instance to the Google API.</returns> public static OnlineMapsGoogleAPIQuery FindByReference(string key, string reference, string language = null) { OnlineMapsFindPlaceDetails query = new OnlineMapsFindPlaceDetails(key, null, reference, language); OnlineMaps.instance.AddGoogleAPIQuery(query); return query; }
/// <summary> /// Gets details about the place by place_id. /// </summary> /// <param name="key"> /// Your application's API key.\n /// This key identifies your application for purposes of quota management and so that places added from your application are made immediately available to your app.\n /// Visit the Google Developers Console to create an API Project and obtain your key. /// </param> /// <param name="place_id">A textual identifier that uniquely identifies a place, returned from a Place Search.</param> /// <param name="language"> /// The language code, indicating in which language the results should be returned, if possible.\n /// Note that some fields may not be available in the requested language. /// </param> /// <returns>Query instance to the Google API.</returns> public static OnlineMapsGoogleAPIQuery FindByPlaceID(string key, string place_id, string language = null) { OnlineMapsFindPlaceDetails query = new OnlineMapsFindPlaceDetails(key, place_id, null, language); OnlineMaps.instance.AddGoogleAPIQuery(query); return query; }