Usage scenario: 1. The restaurant draws a polygon on the map to indicate the range that can be delivered (the restaurant is PIO on the cloud); 2. Locate the restaurant after the user opens the application; 3: automatically match the restaurant in which food can be delivered at the current location (that is, the user's location is in the restaurant delivery area). I checked the API and it seems that it is not implemented... scenario:
1: The restaurant draws a polygon on the map to indicate the range of delivery (the restaurant is PIO on the cloud );
2: After you open the application, locate it;
3: automatically match the restaurants that can deliver meals at the current location (I .e., the user's location is within the restaurant delivery area)
I have read that the API does not seem to be able to implement the functions I want. The functions implemented by the API are:
1: based on the user positioning point, based on the City range and search keywords, retrieve the PIO of the surrounding several kilometers (in fact, it is a round search)
2: polygon search is actually a variant above. polygon is defined by the polygon request parameter;
So this will not achieve the effect I want, as well as Baidu map.
To achieve the desired effect, you can only do this:
1: The restaurant's cloud map data should contain fields such as polygon, which I drew.
2: User positioning.
3: Send the user's latitude and longitude to the cloud map search API. The API uses polygon for calculation. The returned polygon field can overwrite the restaurant in the current user's location.
That is to say, the original mode is reversed. Some APIs use polygon to retrieve the range, instead of drawing an address to retrieve the PIO in the address;
After searching for a long time, it seems that AMAP APIs such as autonavi and Baidu cannot achieve what I want.
Thank you.
Reply content:
Scenario:
1: The restaurant draws a polygon on the map to indicate the range of delivery (the restaurant is PIO on the cloud );
2: After you open the application, locate it;
3: automatically match the restaurants that can deliver meals at the current location (I .e., the user's location is within the restaurant delivery area)
I have read that the API does not seem to be able to implement the functions I want. The functions implemented by the API are:
1: based on the user positioning point, based on the City range and search keywords, retrieve the PIO of the surrounding several kilometers (in fact, it is a round search)
2: polygon search is actually a variant above. polygon is defined by the polygon request parameter;
So this will not achieve the effect I want, as well as Baidu map.
To achieve the desired effect, you can only do this:
1: The restaurant's cloud map data should contain fields such as polygon, which I drew.
2: User positioning.
3: Send the user's latitude and longitude to the cloud map search API. The API uses polygon for calculation. The returned polygon field can overwrite the restaurant in the current user's location.
That is to say, the original mode is reversed. Some APIs use polygon to retrieve the range, instead of drawing an address to retrieve the PIO in the address;
After searching for a long time, it seems that AMAP APIs such as autonavi and Baidu cannot achieve what I want.
Thank you.
Nobody knows ?????????