GetMapPackageAtCoordinate never return smallest package for some regions

别说谁变了你拦得住时间么 提交于 2019-12-11 14:11:56

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!