osmdroid没有加载使用API的地图
我试图拥有使用OpencyClemap的地图,但没有加载地图
final String[] tileURLs = {"http://a.tile.thunderforest.com/cycle/",
"http://b.tile.thunderforest.com/cycle/",
"http://c.tile.thunderforest.com/cycle/"};
final ITileSource OCM =
new XYTileSource("Open Cycle Map",
0,
19,
512,
".png?apikey=" + API_KEY,
tileURLs,
"from open cycle map");
map = (MapView) findViewById(R.id.mapview);
map.setTileSource(OCM);
i was trying to have a map that uses the OpenCycleMap but it doesn't load the map
final String[] tileURLs = {"http://a.tile.thunderforest.com/cycle/",
"http://b.tile.thunderforest.com/cycle/",
"http://c.tile.thunderforest.com/cycle/"};
final ITileSource OCM =
new XYTileSource("Open Cycle Map",
0,
19,
512,
".png?apikey=" + API_KEY,
tileURLs,
"from open cycle map");
map = (MapView) findViewById(R.id.mapview);
map.setTileSource(OCM);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论