之前用的高德是这样加载 的
aMap.addTileOverlay(new TileOverlayOptions().tileProvider(new UrlTileProvider(256, 256) {
@Override
public URL getTileUrl(int x, int y, int zoom) {
try {
URL surl = new URL(String.format(ServerURL.url_amap, x, y, zoom));
return surl;
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
})
.diskCacheEnabled(true)
.diskCacheDir("/storage/emulated/legacy/amap/cache")
.diskCacheSize(100000)
.memoryCacheEnabled(true)
.memCacheSize(100000));
现在要换成超图不知道怎么加载瓦片