问题描述
我有一个开发,部署和previously成功的应用程序,它使用Osmdroid从默认的瓷砖供应商是Mapnik的装载瓷砖
I have a developed, deployed and previously successful application which uses Osmdroid to load tiles from the default tile provider which is Mapnik
mMapView.setTileSource(TileSourceFactory.DEFAULT_TILE_SOURCE);
或
mMapView.setTileSource(TileSourceFactory.MAPNIK);
直到最近(也许因为今天)在真实设备(手机和平板电脑)瓷砖不会加载了。我使用osmdroid版本3.0.5。如果我尝试在一个仿真器的最新4.0版本,在一个小样本项目中,我看到logcat的403禁止响应试图下载maptiles时。如果我切换瓦源
Until recently (maybe since today) the tiles on real devices (a phone and a tablet) do not load anymore. I am using osmdroid version 3.0.5. If I try the latest 4.0 version in a small sample project on an emulator, I see '403 forbidden responses' in the logcat when trying to download maptiles. If I switch the tile source to
mMapView.setTileSource(TileSourceFactory.MAPQUESTOSM);
那么,地图是没有问题可见。我看不出在任何报告的问题 Osmdroid网站的问题列表,也没有谷歌搜索发现任何新的问题报告,所以我要问有没有人看这种新的行为与Mapnik的和可能知道的修复程序?
then the map is visible with no problem. I don't see any reported issues on theOsmdroid web site issues list, nor does a Google search reveal any new problems reported, so I am asking if anyone else sees this new behaviour from Mapnik and might know of a fix?
推荐答案
请遵循的以跟踪此问题。我们已经实施了修复,我们将很快发布一个适当的更新。
Please follow Issue 515 to track this issue. We have implemented a fix and we will release a proper update soon.
这篇关于Osmdroid和Mapnik的瓷砖供应商不再工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!