6.3.1.2.14. MapEventListener

public interface MapEventListener

The object which need map events, should implement this interface.

Author:Dmitry Baryshnikov

6.3.1.2.14.1. Methods

6.3.1.2.14.1.1. onExtentChanged

void onExtentChanged(float zoom, GeoPoint center)

Executed then map extent changed (i.e. user zoom in or out)

Parameters:
  • zoom – New map zoom
  • center – New map center

6.3.1.2.14.1.2. onLayerAdded

void onLayerAdded(int id)

Executed then new layer added

Parameters:
  • id – The new layer identificator set in this session. May be another in next execution.

6.3.1.2.14.1.3. onLayerChanged

void onLayerChanged(int id)

Executed then layer changed

Parameters:
  • id – The changed layer identificator.

6.3.1.2.14.1.4. onLayerDeleted

void onLayerDeleted(int id)

Executed then layer deleted

Parameters:
  • id – The deleted layer identificator.

6.3.1.2.14.1.5. onLayerDrawFinished

void onLayerDrawFinished(int id, float percent)

Executed then some drawing routine finished or indicate drawing process

Parameters:
  • id – The layer identificator
  • percent – The percent of layer drawn

6.3.1.2.14.1.6. onLayerDrawStarted

void onLayerDrawStarted()

Executed then layer draw started

6.3.1.2.14.1.7. onLayersReordered

void onLayersReordered()

Executed then layer are reordered