Location retrieval service (also called Place API) is a kind of Web API interface service;The service provides the location (POI) retrieval function of multiple scenarios, including city retrieval, circular area retrieval, and polygon area retrieval.Developers can obtain basic or detailed geographical information of place (POI) through the interface.
be careful:Location search service is applicable to the search of POI location names such as [XX Building] and [XX Community];If you need to retrieve structured addresses, such as [No. 10, Shangdi 10th Street, Haidian District, Beijing], it is recommended to useGeocodingServices.
Function introduction
Administrative Region Search
Retrieve the location information within an administrative division (down to the city level at present).
Circular Area Retrieval
Set the center and radius of the circle to retrieve the location information in the circular area (usually used for peripheral retrieval scenes).
Polygon area retrieval
Developers can use the polygon area to retrieve and transfer multiple coordinate pairs. The first and last coordinate pairs need to be the same, and the coordinate pairs are divided by ",";When the polygon is a rectangle, the coordinate pairs of the top left and bottom right vertices can be passed in.You can get the basic or detailed geographical information of the place (POI).
Location details search
It is different from the other three retrieval functions.Location details retrieval Retrieves the relevant details of the designated POI.Developers can obtain the POI uid through three regional retrieval (or other services) functions.Use the "Location Details Retrieval" function and pass in the uid to retrieve POI details, such as scores, business hours, etc. (different types of POIs correspond to different categories of detailed data).
Place input prompt
Through this service, users can match the place recommendation list with the keywords entered by users.In terms of application, the site recommendation list can be displayed to users, and users can retrieve the POI information they click by clicking and other interactive methods in combination with the site retrieval service, so as to realize the site details retrieval function.
Get POI pictures
Get the download link of POI image from the interface
Get POI business status
Status of POI: whether it is open or not, estimated location, etc. (representative opening/business/office status may change)
Applicable scenarios
It is applicable to address information retrieval, including location name, location ID, longitude and latitude information, location province, city, zip code or location details, location picture and location business status, etc
instructions
Obtaining POI pictures and obtaining POI business status is an advanced service, which requires you toOpen advanced permission。