# Interface MapListener

public interface MapListener
Invoked when the map is panned or zoomed

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `mapPositionUpdated(Component source, int zoom, Coord center)`
  Invoked when the map is zoomed or panned

- ## Method Details

  - ### mapPositionUpdated

    void mapPositionUpdated(Component source, int zoom, Coord center)

    Invoked when the map is zoomed or panned

    ###### Parameters

    - `source`: = the component that fired the event

    - `zoom`: the zoom level of the current map

    - `center`: the center position of the map