//
//Copyright(C) 2013
//Author:LL
//文件名:
//文件功能描述:加载天地图切片图层类
//
//创建标识:
package com.gis.tiandimap;
import android.util.Log;
import com.esri.android.map.TiledServiceLayer;
import com.esri.core.geometry.Envelope;
import com.esri.core.geometry.Point;
import com.esri.core.geometry.SpatialReference;
import com.esri.core.internal.b.a.g;
import com.esri.core.io.UserCredentials;
import com.gis.tiandimap.config.TDTUrl;
import com.gis.tiandimap.config.TianDiTuTiledMapServiceType;
public class TianDiTuTiledMapServiceLayer extends TiledServiceLayer {
private TianDiTuTiledMapServiceType _mapType;
private TileInfo tiandituTileInfo;
public TianDiTuTiledMapServiceLayer() {
this(null, null,true);
}
public TianDiTuTiledMapServiceLayer(TianDiTuTiledMapServiceType mapType){
this(mapType, null,true);
}
public TianDiTuTiledMapServiceLayer(TianDiTuTiledMapServiceType mapType,UserCredentials usercredentials){
this(mapType, usercredentials, true);
}
public TianDiTuTiledMapServiceLayer(TianDiTuTiledMapServiceType mapType, UserCredentials usercredentials, boolean flag){
super("");
this._mapType=mapType;
setCredentials(usercredentials);
if(flag)
try
{
getServiceExecutor().submit(new Runnable() {
public final void run()
{
a.initLayer();
}
final TianDiTuTiledMapServiceLayer a;
{
a = TianDiTuTiledMapServiceLayer.this;
//super();
}
});