Saturday, January 25, 2014

Android Baidu Maps API development, how to display all search results?


            
I'm on the android platform, using Baidu Maps API to develop, how to display all search results. Baidu Map goToPoiPage () restrictions do I set the display page number is 50, when I tested result.getNumPages () values ​​are 30, that made a total of more than 1400 elements, but with goToPoiPage () only up can go to page 16, read up more than 750 elements of it? I do not know why, please enlighten.
Reply:
Their top!
Reply:
Zaiding! Which god of hope to help solve.
Reply:
We help out, this is more important to me.
Reply:
Not used, items to help you with it
Reply:
Thank you.
Reply:
The landlord told me about how to use it I started the search is rst = mkSearch.poiSearchNearBy ("XX", point, n);
Successful return value is 0
Then I want to achieve when the second page
paged searchmkSearch.goToPoiPage (1)
But failed return value is -1;
Great landlord ah
Ask me how to do ah
Reply:
Bangniding, I will not, seek advice!
Reply:
I have encountered this problem, and also the 16, 760 poi points, then no, do not know Baidu limits ah, seeking advice

No comments:

Post a Comment