NGWRasterLayer

public class NGWRasterLayer extends RemoteTMSLayer implements INGWLayer

Fields

JSON_ACCOUNT_KEY

protected static final String JSON_ACCOUNT_KEY

MAX_THREAD_COUNT

protected static final short MAX_THREAD_COUNT

mAccountName

protected String mAccountName

mCacheLogin

protected String mCacheLogin

mCachePassword

protected String mCachePassword

mExtentReceived

protected boolean mExtentReceived

mRemoteId

protected long mRemoteId

Constructors

NGWRasterLayer

public NGWRasterLayer(Context context, File path)

Methods

fromJSON

public void fromJSON(JSONObject jsonObject)

getAccountName

public String getAccountName()

getBitmap

public Bitmap getBitmap(TileItem tile)

getLogin

public String getLogin()

getMaxThreadCount

public int getMaxThreadCount()

getPassword

public String getPassword()

getRemoteId

public long getRemoteId()

getSyncType

public int getSyncType()

setAccountCacheData

public void setAccountCacheData()

setAccountName

public void setAccountName(String accountName)

setLogin

public void setLogin(String login)

setPassword

public void setPassword(String password)

setRemoteId

public void setRemoteId(long remoteId)

setSyncType

public void setSyncType(int syncType)

sync

public void sync(String authority, Pair<Integer, Integer> ver, SyncResult syncResult)

toJSON

public JSONObject toJSON()