Listener that is invoked when the map is clicked.

Export

OnMapClickListener

interface OnMapClickListener ((point, locations?) => void)
  • When the map is clicked.

    Contains the point of the click and any nearby locations.

    Parameters

    • point: MPPoint

      The coordinates of the click.

    • Optional locations: MPLocation[]

      nearby locations.

    Returns void

Generated using TypeDoc