MapBase

public class MapBase extends LayerGroup

Fields

mFileName

protected String mFileName

mInstance

protected static MapBase mInstance

mNewId

protected int mNewId

Constructors

MapBase

public MapBase(Context context, File path, LayerFactory layerFactory)

Methods

clearLayers

public void clearLayers()

delete

public boolean delete()

getCurrentBounds

public GeoEnvelope getCurrentBounds()

getFileName

protected File getFileName()

getFullBounds

public GeoEnvelope getFullBounds()

getInstance

public static MapBase getInstance()

getLastLayer

public ILayer getLastLayer()

getNewId

public int getNewId()

The identificator generator

Результат:new id

isDirty

public boolean isDirty()

moveTo

public void moveTo(File newPath)

onLayerAdded

protected void onLayerAdded(ILayer layer)

setDirty

public void setDirty(boolean dirty)