问题
I'm using the MapLoader#getMapPackageAtCoordinate method to find which offline package I should download. The thing is that I never want to download the country (France) package (for data usage consideration).
The documentation clearly says that for some coordinates, the method may not be able to find the smallest (region) package and return the country package instead. But I was expecting to be able to get the smallest package when trying with multiple geocoordinates in the region.
For some regions (Normandie, Bretagne, Nouvelle-Acquitaine), getMapPackageAtCoordinate almost always returns the region package. But for other regions (Ille-de-France, Pays-De-La-Loire), the France package is always returned.
Is there a way to improve this behaviour in order to get the region package ?
Thanks
来源:https://stackoverflow.com/questions/47470647/getmappackageatcoordinate-never-return-smallest-package-for-some-regions