Layer

public class Layer extends Table implements ILayerView, IRenderer

Fields

mExtents

protected GeoEnvelope mExtents

mIsVisible

protected boolean mIsVisible

mMaxZoom

protected float mMaxZoom

mMinZoom

protected float mMinZoom

mRenderer

protected IRenderer mRenderer

Constructors

Layer

public Layer(Context context, File path)

Methods

cancelDraw

public void cancelDraw()

fromJSON

public void fromJSON(JSONObject jsonObject)

getExtents

public GeoEnvelope getExtents()

getMaxZoom

public float getMaxZoom()

getMinZoom

public float getMinZoom()

getRenderer

public IRenderer getRenderer()

isVisible

public boolean isVisible()

onDrawFinished

public void onDrawFinished(int id, float percent)

runDraw

public void runDraw(GISDisplay display)

setMaxZoom

public void setMaxZoom(float maxZoom)

setMinZoom

public void setMinZoom(float minZoom)

setRenderer

public void setRenderer(IRenderer renderer)

setViewSize

public void setViewSize(int w, int h)

setVisible

public void setVisible(boolean visible)

toJSON

public JSONObject toJSON()