Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.maryanovsky.map.client
Interface Overlay

All Known Implementing Classes:
  BubbleWidget, WidgetOverlay

    public interface Overlay

The interface for overlays added to the map. Usually, you will not need to implement this interface directly, but use WidgetOverlay instead.

Author:
  Maryanovsky Alexander

Method Summary
`void` | `added(MapWidget mapWidget)` Invoked when the overlay is added to the `MapWidget`.
`void` | `removed(MapWidget mapWidget)` Invoked when the overlay is removed from the `MapWidget`.
`void` | `updated(MapWidget mapWidget, boolean isTemporary)` Invoked when the map view changes.

Method Detail

### added

    void added(MapWidget mapWidget)

  Invoked when the overlay is added to the `MapWidget`. The implementation is supposed to actually add something to the `mapWidget`'s overlay panel.

### updated

    void updated(MapWidget mapWidget,
                 boolean isTemporary)

  Invoked when the map view changes. `isTemporary` specifies whether the change is temporary (such as during a drag of the map or a pan animation) or permanent.

### removed

    void removed(MapWidget mapWidget)

  Invoked when the overlay is removed from the `MapWidget`. The implementtion is supposed to actually remove whatever it added from the `mapWidget`'s overlay panel.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD