/
onClick

onClick

The callback function passed here becomes the onclick handler for clicks within the AerialSphere frame.

Parameter:

  • callback (function): A callback function to execute. It will be passed an object with the following properties:

    • pan (number): The pan of the click event