ILayerView

public interface ILayerView

Interface to manage layer visibility sates and etc.

Author:Dmitry Baryshnikov

Methods

getMaxZoom

float getMaxZoom()

Return max zoom for layer

Результат:maximum zoom

getMinZoom

float getMinZoom()

Return min zoom for layer

Результат:minimum zoom value

getRenderer

IRenderer getRenderer()
Результат:Renderer connected with this layer

isVisible

boolean isVisible()
Результат:If layer visible or not

onDrawFinished

void onDrawFinished(int id, float percent)

Executed then layer draw finished or indicating draw process

Параметры:
  • id – The layer identificator
  • percent – The draw progress percent

setMaxZoom

void setMaxZoom(float maxZoom)

Set max zoom for layer

Параметры:
  • maxZoom – The max zoom value

setMinZoom

void setMinZoom(float minZoom)

Set min zoom for layer

Параметры:
  • minZoom – The min zoom value

setRenderer

void setRenderer(IRenderer renderer)

Set renderer for this layer

Параметры:
  • renderer – The renderer object

setViewSize

void setViewSize(int w, int h)

Update the display size in pixels. Executed by map then screen resized (or rotated)

Параметры:
  • w – width
  • h – height

setVisible

void setVisible(boolean visible)

Set if layer visible or not

Параметры:
  • visible – true if layer must be visible, or false