6.3.1.2.7. ILayerView

public interface ILayerView

Interface to manage layer visibility sates and etc.

Author:Dmitry Baryshnikov

6.3.1.2.7.1. Methods

6.3.1.2.7.1.1. getMaxZoom

float getMaxZoom()

Return max zoom for layer

Returns:maximum zoom

6.3.1.2.7.1.2. getMinZoom

float getMinZoom()

Return min zoom for layer

Returns:minimum zoom value

6.3.1.2.7.1.3. getRenderer

IRenderer getRenderer()
Returns:Renderer connected with this layer

6.3.1.2.7.1.4. isVisible

boolean isVisible()
Returns:If layer visible or not

6.3.1.2.7.1.5. onDrawFinished

void onDrawFinished(int id, float percent)

Executed then layer draw finished or indicating draw process

Parameters:
  • id – The layer identificator
  • percent – The draw progress percent

6.3.1.2.7.1.6. setMaxZoom

void setMaxZoom(float maxZoom)

Set max zoom for layer

Parameters:
  • maxZoom – The max zoom value

6.3.1.2.7.1.7. setMinZoom

void setMinZoom(float minZoom)

Set min zoom for layer

Parameters:
  • minZoom – The min zoom value

6.3.1.2.7.1.8. setRenderer

void setRenderer(IRenderer renderer)

Set renderer for this layer

Parameters:
  • renderer – The renderer object

6.3.1.2.7.1.9. setViewSize

void setViewSize(int w, int h)

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

Parameters:
  • w – width
  • h – height

6.3.1.2.7.1.10. setVisible

void setVisible(boolean visible)

Set if layer visible or not

Parameters:
  • visible – true if layer must be visible, or false