public class GaoDeLayer extends TiledServiceLayer {
private final int GaoDeLayerType;
private final String cachePath;// 缓存目录
private boolean whetheCachedMap = false;// 是否缓存地图
private String offLineMapPath;// 离线地图目录
public GaoDeLayer(int layerType, boolean whetheCachedMap,
String cachePath,String offLineMapPath) {
super(true);
this.whetheCachedMap = whetheCachedMap;
this.cachePath = cachePath;
this.GaoDeLayerType = layerType;
this.offLineMapPath = offLineMapPath;
this.init();
}
private final double[] scales = new double[]{591657527.591555,
295828763.79577702, 147914381.89788899, 73957190.948944002,
36978595.474472001, 18489297.737236001, 9244648.8686180003,
4622324.4343090001, 2311162.217155, 1155581.108577, 577790.554289,
288895.277144, 144447.638572, 72223.819286, 36111.909643,
18055.954822, 9027.9774109999998, 4513.9887049999998, 2256.994353,
1128.4971760000001};
private final double[] resolutions = new double[]{156543.03392800014,
78271.516963999937, 39135.758482000092, 19567.879240999919,
9783.9396204999593, 4891.9698102499797, 2445.9849051249898,
1222.9924525624949, 611.49622628138, 305.748113140558,
152.874056570411, 76.4370282850732, 38.2185141425366
Android ArcGis加载地图 下载瓦片实现离线地图
于 2024-06-21 09:55:46 首次发布